rust/src/libsyntax/ext/deriving
Huon Wilson 8284df9e7c syntax: indicate an error when a macro ignores trailing tokens.
That is, only a single expression or item gets parsed, so if there are
any extra tokens (e.g. the start of another item/expression) the user
should be told, rather than silently dropping them.

An example:

    macro_rules! foo {
        () => {
            println("hi");
            println("bye);
        }
    }

would expand to just `println("hi")`, which is almost certainly not
what the programmer wanted.

Fixes #8012.
2013-10-02 14:43:15 +10:00
..
cmp syntax: indicate an error when a macro ignores trailing tokens. 2013-10-02 14:43:15 +10:00
clone.rs syntax: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
decodable.rs syntax: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
default.rs extra: minor cleanup of Zero and Default syntax extension 2013-09-17 21:02:17 -07:00
encodable.rs syntax: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
generic.rs syntax: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
iter_bytes.rs Modernized a few more types in syntax::ast 2013-09-03 14:45:06 +02:00
mod.rs syntax: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
rand.rs Delay assignment of node ids until after expansion. Ensures that each AST node 2013-09-10 05:45:12 -04:00
to_str.rs Modernized a few more types in syntax::ast 2013-09-03 14:45:06 +02:00
ty.rs Modernized a few more types in syntax::ast 2013-09-03 14:45:06 +02:00
zero.rs extra: minor cleanup of Zero and Default syntax extension 2013-09-17 21:02:17 -07:00