about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2015-01-06 18:46:37 -0500
committerCorey Richardson <corey@octayn.net>2015-01-06 18:46:37 -0500
commitbd4119f9654eda89e359234a08b1ac4fae53287c (patch)
treee701c04c7bca7d56e19d6464a801d45a7283cc4f /src/libsyntax
parentac8e10519a298cdad3acb50506af3eec79995729 (diff)
downloadrust-bd4119f9654eda89e359234a08b1ac4fae53287c.tar.gz
rust-bd4119f9654eda89e359234a08b1ac4fae53287c.zip
Minor fallout/update FOLLOW sets
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/tt/macro_rules.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs
index 9e1b18ad18a..6a064ec1313 100644
--- a/src/libsyntax/ext/tt/macro_rules.rs
+++ b/src/libsyntax/ext/tt/macro_rules.rs
@@ -422,7 +422,7 @@ fn is_in_follow(cx: &ExtCtxt, tok: &Token, frag: &str) -> bool {
         },
         "stmt" | "expr"  => {
             match *tok {
-                Comma | Semi => true,
+                FatArrow | Comma | Semi => true,
                 _ => false
             }
         },
@@ -434,7 +434,7 @@ fn is_in_follow(cx: &ExtCtxt, tok: &Token, frag: &str) -> bool {
         },
         "path" | "ty" => {
             match *tok {
-                Comma | RArrow | Colon | Eq | Gt => true,
+                Comma | FatArrow | Colon | Eq | Gt => true,
                 Ident(i, _) if i.as_str() == "as" => true,
                 _ => false
             }