Fix parser for macro call in pattern position

This commit is contained in:
Edwin Cheng 2019-12-20 23:11:07 +08:00
parent af5e2abe15
commit 4a7e19946a
3 changed files with 41 additions and 6 deletions

View file

@ -16,11 +16,10 @@ SOURCE_FILE@[0; 33)
LET_KW@[16; 19) "let"
WHITESPACE@[19; 20) " "
MACRO_CALL@[20; 25)
PATH_PAT@[20; 21)
PATH@[20; 21)
PATH_SEGMENT@[20; 21)
NAME_REF@[20; 21)
IDENT@[20; 21) "m"
PATH@[20; 21)
PATH_SEGMENT@[20; 21)
NAME_REF@[20; 21)
IDENT@[20; 21) "m"
EXCL@[21; 22) "!"
TOKEN_TREE@[22; 25)
L_PAREN@[22; 23) "("