Skip to content

Commit

Permalink
chore: promote
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfettes committed Dec 25, 2024
1 parent f96ef77 commit 5ea653b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,18 @@
}
]
},
{
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "parameters"
},
{
"type": "BLANK"
}
]
},
{
"type": "SYMBOL",
"name": "block_expression"
Expand Down Expand Up @@ -1547,19 +1559,19 @@
"members": [
{
"type": "PATTERN",
"value": "[0-9][0-9_]*L?"
"value": "[0-9][0-9_]*U?L?"
},
{
"type": "PATTERN",
"value": "0[xX][0-9a-fA-F_]+L?"
"value": "0[xX][0-9a-fA-F_]+U?L?"
},
{
"type": "PATTERN",
"value": "0[oO][0-7_]+L?"
"value": "0[oO][0-7_]+U?L?"
},
{
"type": "PATTERN",
"value": "0[bB][01_]+L?"
"value": "0[bB][01_]+U?L?"
}
]
}
Expand Down
4 changes: 4 additions & 0 deletions src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2189,6 +2189,10 @@
"type": "block_expression",
"named": true
},
{
"type": "parameters",
"named": true
},
{
"type": "string_literal",
"named": true
Expand Down
Binary file modified src/parser.c
Binary file not shown.

0 comments on commit 5ea653b

Please sign in to comment.