Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/macros-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ compiler knows how to expand them properly:
1. A metavariable must appear in exactly the same number, kind, and nesting
order of repetitions in the transcriber as it did in the matcher. So for the
matcher `$( $i:ident ),*`, the transcribers `=> { $i }`,
`=> { $( $( $i)* )* }`, and `=> { $( $i )+ }` are all illegal, but
`=> { $( $( $i )* )* }`, and `=> { $( $i )+ }` are all illegal, but
`=> { $( $i );* }` is correct and replaces a comma-separated list of
identifiers with a semicolon-separated list.
2. Each repetition in the transcriber must contain at least one metavariable to
Expand Down