about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_parser.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-04-08 13:10:52 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-04-11 09:38:40 +1000
commit482b25b321d06ee2b9e438e458ed41b691553736 (patch)
treed03e89e19708be1a7e5446e9b5153718cf8108b0 /compiler/rustc_expand/src/mbe/macro_parser.rs
parent027a232755fa9728e9699337267f6675dfd0a8ba (diff)
downloadrust-482b25b321d06ee2b9e438e458ed41b691553736.tar.gz
rust-482b25b321d06ee2b9e438e458ed41b691553736.zip
Change internal naming of macros.
When a `macro_rules! foo { ... }` invocation is compiled the name used
is `foo`, not `macro_rules!`. This is different to all other macro
invocations, and confused me when I was inserted debugging println
statements for macro evaluation.

This commit changes it to `macro_rules` (or just `macro`), which is what
I expected. There are no externally visible changes.
Diffstat (limited to 'compiler/rustc_expand/src/mbe/macro_parser.rs')
0 files changed, 0 insertions, 0 deletions