diff options
| author | Corey Richardson <corey@octayn.net> | 2015-01-02 16:41:24 -0500 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2015-01-06 12:03:12 -0500 |
| commit | 6680c9c5c797101fc5e0608cb2c3657517333148 (patch) | |
| tree | dbbcc5b4cc5af30075ba5b172e403dfe0ced7ceb /src/libsyntax/parse | |
| parent | 8efd9901b628d687d11a4d0ccc153553b38ada49 (diff) | |
| download | rust-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.rs | 1 |
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 ) |
