Skip to content

Commit 5100e84

Browse files
authored
Merge pull request #1300 from danielhenrymantilla/patch-1
Add an anchor to the "forwarding macro fragments" paragraph
2 parents 9f0cc13 + 04f289a commit 5100e84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/macros-by-example.md

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ delimiters for the matcher will match any pair of delimiters. Thus, for
7676
instance, the matcher `(())` will match `{()}` but not `{{}}`. The character
7777
`$` cannot be matched or transcribed literally.
7878

79+
### Forwarding a matched fragment
80+
7981
When forwarding a matched fragment to another macro-by-example, matchers in
8082
the second macro will see an opaque AST of the fragment type. The second macro
8183
can't use literal tokens to match the fragments in the matcher, only a

0 commit comments

Comments
 (0)