diff options
| author | bors <bors@rust-lang.org> | 2013-10-02 04:21:26 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-02 04:21:26 -0700 |
| commit | d616603c8496a96ba5a9a9ed7a21f02b79d5757d (patch) | |
| tree | a2b953fb2f855834aa0a1d2e887424e42a2f0004 /src/rt/sync/rust_thread.cpp | |
| parent | d00c9269dce3a7925d7d0bf5edb64b3c6747c6af (diff) | |
| parent | 8284df9e7c3b26897d65935eaa7acee1a956a450 (diff) | |
| download | rust-d616603c8496a96ba5a9a9ed7a21f02b79d5757d.tar.gz rust-d616603c8496a96ba5a9a9ed7a21f02b79d5757d.zip | |
auto merge of #9673 : huonw/rust/macros, r=catamorphism
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.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
