about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-12-21 02:58:55 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-12-27 15:51:37 +0300
commit37af04ff8d784969882296c0fb74aa3e68624873 (patch)
tree2753bf72046708e04bdba11b8ff04c7fe9083739 /src/libsyntax/parse/parser.rs
parent15cefe4b2a65bb2a4febcd353cb37b90dfafa4f1 (diff)
downloadrust-37af04ff8d784969882296c0fb74aa3e68624873.tar.gz
rust-37af04ff8d784969882296c0fb74aa3e68624873.zip
Address review comments and CI failures
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 11d570072cd..52da8a072c7 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2871,6 +2871,7 @@ impl<'a> Parser<'a> {
                 let mut err = self.fatal(&format!("unknown macro variable `{}`", name));
                 err.span_label(self.span, "unknown macro variable");
                 err.emit();
+                self.bump();
                 return
             }
             token::Interpolated(ref nt) => {