diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/Lex/PTHLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp index c05b4b00104..6a6290f933b 100644 --- a/clang/lib/Lex/PTHLexer.cpp +++ b/clang/lib/Lex/PTHLexer.cpp @@ -142,7 +142,7 @@ void PTHLexer::DiscardToEndOfLine() { // Read the token flags. Are we at the start of the next line? Token::TokenFlags y = (Token::TokenFlags) (uint8_t) p[1]; - if (y == Token::StartOfLine) break; + if (y & Token::StartOfLine) break; // Skip to the next token. p += DISK_TOKEN_SIZE; |