about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlex Burka <aburka@seas.upenn.edu>2016-01-27 13:26:47 -0500
committerAlex Burka <aburka@seas.upenn.edu>2016-01-27 13:26:47 -0500
commitfd4d013a2ce394fc73e83d8c13459289de1d72ba (patch)
tree3fd2eb2462b1d1c1b0ccff57ca468d92f4f0be54 /src/libsyntax
parent8256c470a5ec80509071a70dcfba76666c855a1e (diff)
downloadrust-fd4d013a2ce394fc73e83d8c13459289de1d72ba.tar.gz
rust-fd4d013a2ce394fc73e83d8c13459289de1d72ba.zip
trpl: fix macro follow sets
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/tt/macro_rules.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs
index bfd76db0359..82fa0f8a8b2 100644
--- a/src/libsyntax/ext/tt/macro_rules.rs
+++ b/src/libsyntax/ext/tt/macro_rules.rs
@@ -972,6 +972,7 @@ fn can_be_followed_by_any(frag: &str) -> bool {
 /// we expanded `expr` to include a new binary operator, we might
 /// break macros that were relying on that binary operator as a
 /// separator.
+// when changing this do not forget to update doc/book/macros.md!
 fn is_in_follow(_: &ExtCtxt, tok: &Token, frag: &str) -> Result<bool, String> {
     if let &CloseDelim(_) = tok {
         // closing a token tree can never be matched by any fragment;