aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/parser.l3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parser.l b/src/parser.l
index 8e49181..2a2e94c 100644
--- a/src/parser.l
+++ b/src/parser.l
@@ -237,9 +237,6 @@ void runes_parser_process_string(RunesTerm *t, char *buf, size_t len)
yyscan_t scanner;
int remaining;
- /* XXX this will break if buf ends with a partial escape sequence or utf8
- * character. we need to detect that and not consume the entire input in
- * that case */
yylex_init_extra(t, &scanner);
state = runes_parser_yy_scan_bytes(buf, len, scanner);
while ((remaining = runes_parser_yylex(scanner)) == -1);