We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b0f2af commit 6bddfc9Copy full SHA for 6bddfc9
src/doc/grammar.md
@@ -281,7 +281,8 @@ type_path_tail : '<' type_expr [ ',' type_expr ] + '>'
281
## Macros
282
283
```antlr
284
-expr_macro_rules : "macro_rules" '!' ident '(' macro_rule * ')' ;
+expr_macro_rules : "macro_rules" '!' ident '(' macro_rule * ')' ';'
285
+ | "macro_rules" '!' ident '{' macro_rule * '}' ;
286
macro_rule : '(' matcher * ')' "=>" '(' transcriber * ')' ';' ;
287
matcher : '(' matcher * ')' | '[' matcher * ']'
288
| '{' matcher * '}' | '$' ident ':' ident
0 commit comments