Skip to content

Commit

Permalink
fix: allow octal escapes with 1 to 3 digits
Browse files Browse the repository at this point in the history
Co-authored-by: Amaan Qureshi <[email protected]>
  • Loading branch information
ValdezFOmar and amaanq committed Jul 7, 2024
1 parent 36515d5 commit ccc2408
Show file tree
Hide file tree
Showing 7 changed files with 4,448 additions and 6,832 deletions.
3 changes: 3 additions & 0 deletions bindings/rust/build.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ module.exports = grammar({
/u[a-fA-F\d]{4}/,
/U[a-fA-F\d]{8}/,
/x[a-fA-F\d]{2}/,
/\d{3}/,
/\d{1,3}/,
/\r?\n/,
/['"abfrntv\\]/,
/N\{[^}]+\}/,
Expand Down
2 changes: 1 addition & 1 deletion src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ccc2408

Please sign in to comment.