Skip to content

Commit 0ffc13d

Browse files
committed
add expr_2021 and pat_param to fragment_specifier
1 parent 5b8dd57 commit 0ffc13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grammar.js

Lines changed: 2 additions & 2 deletions
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(

0 commit comments

Comments
 (0)