public
/
bootstrap_bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0848a3
)
Fix a bug in code that executes when <token value="NNN">...</token> is disabled
author
Nick Downing
<downing.nick@gmail.com>
Thu, 21 Jun 2018 13:30:44 +0000
(23:30 +1000)
committer
Nick Downing
<downing.nick@gmail.com>
Thu, 21 Jun 2018 13:30:58 +0000
(23:30 +1000)
src/scan-gram.c
patch
|
blob
|
history
diff --git
a/src/scan-gram.c
b/src/scan-gram.c
index
90aa03e
..
0155676
100644
(file)
--- a/
src/scan-gram.c
+++ b/
src/scan-gram.c
@@
-1482,8
+1482,8
@@
YY_DECL
if (result < 0)
return ~result;
piece_pack();
-#if
0
- piece
[piece1++] = strdup(piece_temp
);
+#if
1
+ piece
_esc(yytext, strlen(yytext)
);
++piece0;
#else
size_t n = strlen(yytext);