about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-01-25 13:34:26 -0800
committerSteven Fackler <sfackler@gmail.com>2014-01-25 13:55:39 -0800
commitab5bbd3c17e435b00d3ffaf820972b13779a9a46 (patch)
tree483e620169a390f5f2dbb404cf19a325dbdee008 /src/libstd/sync
parentde57a22b9a8c8416cace31c9bd3ec4c9a6888017 (diff)
downloadrust-ab5bbd3c17e435b00d3ffaf820972b13779a9a46.tar.gz
rust-ab5bbd3c17e435b00d3ffaf820972b13779a9a46.zip
Simplify and rename macro API
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/sync')
0 files changed, 0 insertions, 0 deletions