Skip to content

Commit

Permalink
Merge pull request #2529 from bobrippling/fix/re-statement-syntax
Browse files Browse the repository at this point in the history
Fix lexing of regex at the start of a if/loop
  • Loading branch information
gfwilliams committed Jul 10, 2024
2 parents 584b588 + 03f293d commit 28b41fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jslex.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ void jslGetNextToken() {
lastToken=='{' ||
lastToken=='}' ||
lastToken=='(' ||
lastToken==')' ||
lastToken==',' ||
lastToken==';' ||
lastToken==':') {
Expand Down

0 comments on commit 28b41fd

Please sign in to comment.