f1ad425199
Per discussion with @sfackler, refactored the expander to change the way that exported macros are collected. Specifically, a crate now contains a side table of spans that exported macros go into. This has two benefits. First, the encoder doesn't need to scan through the expanded crate in order to discover exported macros. Second, the expander can drop all expanded macros from the crate, with the pleasant result that a fully expanded crate contains no macro invocations (which include macro definitions). |
||
---|---|---|
.. | ||
lexer | ||
attr.rs | ||
classify.rs | ||
common.rs | ||
mod.rs | ||
obsolete.rs | ||
parser.rs | ||
token.rs |