aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-24 01:31:27 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-24 01:31:27 -0400
commit9da9ca84dd14ca25f46616298db9b840f62aaf11 (patch)
tree7cf5cef266f6228bbdd06477ba4f3391b819c610
parent13551df2543ca73d31a32e7c9abe251d4117f705 (diff)
downloadrunes-9da9ca84dd14ca25f46616298db9b840f62aaf11.tar.gz
runes-9da9ca84dd14ca25f46616298db9b840f62aaf11.zip
remove outdated comment
-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);