aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Parse/ParseStmt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Parse/ParseStmt.cpp b/Parse/ParseStmt.cpp
index 68781c1be4..068921a616 100644
--- a/Parse/ParseStmt.cpp
+++ b/Parse/ParseStmt.cpp
@@ -985,6 +985,10 @@ void Parser::ParseAsmOperandsOpt() {
SkipUntil(tok::r_paren);
return;
}
+
+ // Eat the identifier, FIXME: capture it.
+ ConsumeToken();
+
MatchRHSPunctuation(tok::r_square, Loc);
}