Skip to content

Commit

Permalink
Update macros-by-example.md
Browse files Browse the repository at this point in the history
correct syntax '_MacroRulesDef_' 
NOTE: I tried to use round and square brackets. It seems that only curly brackets are allowed.
  • Loading branch information
JoergBrueggmann authored Mar 5, 2024
1 parent 1afcfd9 commit d5b9d76
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/macros-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
>    `macro_rules` `!` [IDENTIFIER] _MacroRulesDef_
>
> _MacroRulesDef_ :\
>       `(` _MacroRules_ `)` `;`\
>    | `[` _MacroRules_ `]` `;`\
>    | `{` _MacroRules_ `}`
>    `{` _MacroRules_ `}`
>
> _MacroRules_ :\
> &nbsp;&nbsp; _MacroRule_ ( `;` _MacroRule_ )<sup>\*</sup> `;`<sup>?</sup>
Expand Down

0 comments on commit d5b9d76

Please sign in to comment.