fix: box_pattern

Change-Id: I45a856d74fb616d3bce33050f9e69d327186bd59
This commit is contained in:
csmoe 2019-06-18 23:50:57 +08:00
parent 5999733ca6
commit d6533994e4
9 changed files with 94 additions and 11 deletions

View file

@ -96,6 +96,7 @@ Grammar(
"move",
"return",
"try",
"box",
],
contextual_keywords: [
"auto",
@ -192,6 +193,7 @@ Grammar(
"NAMED_FIELD_LIST",
"NAMED_FIELD",
"TRY_BLOCK_EXPR",
"BOX_EXPR",
// postfix
"CALL_EXPR",