aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-17 07:20:40 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-17 07:20:40 +0100
commit0de031cb0dd5b789d4c81b4ede2dfa5bf93a13dc (patch)
tree27a1f7883179d9395cffd72ccf1b7b236ac01326 /src/mds-kbdc
parentm (diff)
downloadmds-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.c6
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 != '"'); \