diff --git a/clang/Parse/ParseStmt.cpp b/clang/Parse/ParseStmt.cpp index 68781c1be4c9..068921a616b1 100644 --- a/clang/Parse/ParseStmt.cpp +++ b/clang/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); }