commit | 3936ceb265730ffad384cb70e377af36334b657a | [log] [tgz] |
---|---|---|
author | Michael Layzell <michael@thelayzells.com> | Sat Jul 08 00:28:36 2017 -0400 |
committer | Alex Crichton <alex@alexcrichton.com> | Fri Jul 14 06:52:25 2017 -0700 |
tree | 7ebf442143f23793a3f2493bbed04ea59bbf636e | |
parent | 5640be2854cf4efcc24106afec6b0dc62a55325d [diff] [blame] |
Make ToTokens more lenient when generating tokens for invalid ASTs
diff --git a/src/mac.rs b/src/mac.rs index 55b33cf..6645c00 100644 --- a/src/mac.rs +++ b/src/mac.rs
@@ -177,6 +177,7 @@ fn to_tokens(&self, tokens: &mut Tokens) { self.path.to_tokens(tokens); self.bang_token.to_tokens(tokens); + self.ident.to_tokens(tokens); tokens.append_all(&self.tokens); } }