diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-17 07:20:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-17 07:20:40 +0100 |
commit | 0de031cb0dd5b789d4c81b4ede2dfa5bf93a13dc (patch) | |
tree | 27a1f7883179d9395cffd72ccf1b7b236ac01326 /src/mds-kbdc | |
parent | m (diff) | |
download | mds-0de031cb0dd5b789d4c81b4ede2dfa5bf93a13dc.tar.gz mds-0de031cb0dd5b789d4c81b4ede2dfa5bf93a13dc.tar.bz2 mds-0de031cb0dd5b789d4c81b4ede2dfa5bf93a13dc.tar.xz |
whoops with escapes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-kbdc')
-rw-r--r-- | src/mds-kbdc/make-tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds-kbdc/make-tree.c b/src/mds-kbdc/make-tree.c index 8ed54ff..fb97fb9 100644 --- a/src/mds-kbdc/make-tree.c +++ b/src/mds-kbdc/make-tree.c @@ -318,7 +318,7 @@ else if (arg_end <= call_end) ; \ else if (c == '\\') \ { \ - escape = 0; \ + escape = 1; \ call_end = arg_end + get_end_of_call(arg_end, 0, strlen(arg_end)); \ } \ else if (quote) quote = (c != '"'); \ @@ -462,7 +462,7 @@ else if (arg_end <= call_end) ; \ else if (c == '\\') \ { \ - escape = 0; \ + escape = 1; \ call_end = arg_end + get_end_of_call(arg_end, 0, strlen(arg_end)); \ } \ else if (quote) quote = (c != '"'); \ @@ -523,7 +523,7 @@ else if (arg_end <= call_end) ; \ else if (c == '\\') \ { \ - escape = 0; \ + escape = 1; \ call_end = arg_end + get_end_of_call(arg_end, 0, strlen(arg_end)); \ } \ else if (quote) quote = (c != '"'); \ |