Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/rust.ungram')
| -rw-r--r-- | crates/syntax/rust.ungram | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram index cb58486eff..4e8d4b478b 100644 --- a/crates/syntax/rust.ungram +++ b/crates/syntax/rust.ungram @@ -342,7 +342,7 @@ Expr = | IndexExpr | Literal | LoopExpr -| MacroCall +| MacroExpr | MacroStmts | MatchExpr | MethodCallExpr @@ -360,6 +360,9 @@ Expr = | LetExpr | UnderscoreExpr +MacroExpr = + MacroCall + Literal = Attr* value:( 'int_number' | 'float_number' |