summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2015-01-02 16:41:24 -0500
committerCorey Richardson <corey@octayn.net>2015-01-06 12:03:12 -0500
commit6680c9c5c797101fc5e0608cb2c3657517333148 (patch)
treedbbcc5b4cc5af30075ba5b172e403dfe0ced7ceb /src/libsyntax/parse
parent8efd9901b628d687d11a4d0ccc153553b38ada49 (diff)
downloadrust-6680c9c5c797101fc5e0608cb2c3657517333148.tar.gz
rust-6680c9c5c797101fc5e0608cb2c3657517333148.zip
syntax: implement 'macro input future proofing'
See RFC 550 (https://github.com/rust-lang/rfcs/pull/550) for the motivation
and details.

If this breaks your code, add one of the listed tokens after the relevant
non-terminal in your matcher.

[breaking-change]
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 094aacf3207..205589ba78e 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -392,6 +392,7 @@ impl fmt::Show for Nonterminal {
     }
 }
 
+
 // Get the first "argument"
 macro_rules! first {
     ( $first:expr, $( $remainder:expr, )* ) => ( $first )