diff options
Diffstat (limited to 'lexer.c')
-rw-r--r-- | lexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -614,7 +614,7 @@ parse_string(uc_lexer *lex, bool no_regexp) else if (*ptr == '\\') { lex->is_escape = true; lookbehind_append(lex, lex->bufstart, ptr - lex->bufstart); - buf_consume(lex, ptr - lex->bufstart); + buf_consume(lex, (ptr - lex->bufstart) + 1); } } |