Skip to content

Commit 377ca96

Browse files
authored
add expr_2021 and pat_param to fragment_specifier (#266)
* add expr_2021 and pat_param to fragment_specifier * chore: tree-sitter generate
1 parent 5b8dd57 commit 377ca96

File tree

4 files changed

+10445
-10376
lines changed

4 files changed

+10445
-10376
lines changed

grammar.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ module.exports = grammar({
209209
),
210210

211211
fragment_specifier: _ => choice(
212-
'block', 'expr', 'ident', 'item', 'lifetime', 'literal', 'meta', 'pat',
213-
'path', 'stmt', 'tt', 'ty', 'vis',
212+
'block', 'expr', 'expr_2021', 'ident', 'item', 'lifetime', 'literal', 'meta', 'pat',
213+
'pat_param', 'path', 'stmt', 'tt', 'ty', 'vis',
214214
),
215215

216216
_tokens: $ => choice(

src/grammar.json

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/node-types.json

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)