Skip to content

Commit

Permalink
Merge pull request #1300 from danielhenrymantilla/patch-1
Browse files Browse the repository at this point in the history
Add an anchor to the "forwarding macro fragments" paragraph
  • Loading branch information
ehuss authored Nov 15, 2022
2 parents 9f0cc13 + 04f289a commit 5100e84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macros-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ delimiters for the matcher will match any pair of delimiters. Thus, for
instance, the matcher `(())` will match `{()}` but not `{{}}`. The character
`$` cannot be matched or transcribed literally.

### Forwarding a matched fragment

When forwarding a matched fragment to another macro-by-example, matchers in
the second macro will see an opaque AST of the fragment type. The second macro
can't use literal tokens to match the fragments in the matcher, only a
Expand Down

0 comments on commit 5100e84

Please sign in to comment.