Skip to content

Commit

Permalink
Avoid adding the single char to the tokenstring when lexing regex (it…
Browse files Browse the repository at this point in the history
… all goes in a JsVar)
  • Loading branch information
gfwilliams committed Oct 6, 2023
1 parent df01b77 commit fce0c93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/jslex.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,6 @@ static void jslLexRegex() {
lex->currCh=='m' ||
lex->currCh=='y' ||
lex->currCh=='u') {
jslTokenAppendChar(lex->currCh);
jsvStringIteratorAppend(&it, lex->currCh);
jslGetNextCh();
}
Expand Down

0 comments on commit fce0c93

Please sign in to comment.