Merge pull request #386 from tree-sitter/generation

pull/659/head
eugene yokota 2024-03-12 02:00:26 +07:00 committed by GitHub
commit 24fd647fec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13055 additions and 13069 deletions

@ -1552,11 +1552,7 @@ module.exports = grammar({
choice(
seq(
"\\",
choice(
/[^xu]/,
/uu?[0-9a-fA-F]{4}/,
/x[0-9a-fA-F]{2}/,
),
choice(/[^xu]/, /uu?[0-9a-fA-F]{4}/, /x[0-9a-fA-F]{2}/),
),
/[^\\'\n]/,
),

6
src/grammar.json vendored

@ -7000,11 +7000,7 @@
},
{
"type": "PATTERN",
"value": "u[0-9a-fA-F]{4}"
},
{
"type": "PATTERN",
"value": "u{[0-9a-fA-F]+}"
"value": "uu?[0-9a-fA-F]{4}"
},
{
"type": "PATTERN",

26112
src/parser.c vendored

File diff suppressed because it is too large Load Diff