diff options
| author | ruki <[email protected]> | 2017-03-15 16:12:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-15 16:12:36 +0800 |
| commit | 645779a4239069b504a530b5667b80cf8f7f5f9a (patch) | |
| tree | fd847a21cb93a743ae90242d2a2bc3d579ce136b /core/src | |
| parent | 84a1ac1d297ff039e600a4ea2ecb9f122aac5846 (diff) | |
modify vs201x project plugin
Diffstat (limited to 'core/src')
| -rw-r--r--[-rwxr-xr-x] | core/src/xmake/os/argv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/os/argv.c b/core/src/xmake/os/argv.c index 359c94331..0954c0da2 100755..100644 --- a/core/src/xmake/os/argv.c +++ b/core/src/xmake/os/argv.c @@ -71,7 +71,7 @@ tb_int_t xm_os_argv(lua_State* lua) // leave quote? else if ((s == 2 && ch == '\"') || (s == 1 && ch == '\'')) s = 0; // escape charactor? - else if (!escape && ch == '\\') escape = 1; + else if (!escape && ch == '\\' && p[1] != '\\') escape = 1; // is argument end with ' '? else if (!s && tb_isspace(ch)) { |
