diff options
| author | bors <bors@rust-lang.org> | 2014-01-25 17:51:32 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-25 17:51:32 -0800 |
| commit | 897a0a388fb6b0b80ebdca05599e98ce8fc5fb9f (patch) | |
| tree | 3afd8808cbd8a118305f91dab4984a000e5e66e0 /src/libstd | |
| parent | d2b44b6600658cdb24858ccbc8fc178ac8839f5e (diff) | |
| parent | ab5bbd3c17e435b00d3ffaf820972b13779a9a46 (diff) | |
| download | rust-897a0a388fb6b0b80ebdca05599e98ce8fc5fb9f.tar.gz rust-897a0a388fb6b0b80ebdca05599e98ce8fc5fb9f.zip | |
auto merge of #11803 : sfackler/rust/simple-mac, r=brson
Now that procedural macros can be implemented outside of the compiler,
it's more important to have a reasonable API to work with. Here are the
basic changes:
* Rename SyntaxExpanderTTTrait to MacroExpander, SyntaxExpanderTT to
BasicMacroExpander, etc. I think "procedural macro" is the right
term for these now, right? The other option would be SynExtExpander
or something like that.
* Stop passing the SyntaxContext to extensions. This was only ever used
by macro_rules, which doesn't even use it anymore. I can't think of
a context in which an external extension would need it, and removal
allows the API to be significantly simpler - no more
SyntaxExpanderTTItemExpanderWithoutContext wrappers to worry about.
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions
