diff options
-rw-r--r-- | lib/Parse/Lexer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/Lexer.cpp b/lib/Parse/Lexer.cpp index f7fa3d9896..201ef0a39a 100644 --- a/lib/Parse/Lexer.cpp +++ b/lib/Parse/Lexer.cpp @@ -1463,6 +1463,7 @@ LexIdentifier: break; case ';': LastTokenWasSemicolon = true; + getNextChar(); // Consume ';' token to prevent recursive matching return LexTokenInternal(Result, IsPeekAhead); case '%': Kind = tok::percent; |