Fix assertion for raw lexer.

llvm-svn: 43091
This commit is contained in:
Chris Lattner 2007-10-17 21:22:38 +00:00
parent 8e129c23c8
commit fd64ebd3e4
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ public:
/// switch it back. Return true if the 'next character to read' pointer
/// points and the end of the lexer buffer, false otherwise.
bool LexRawToken(Token &Result) {
assert(!LexingRawMode && "Already in raw mode!");
assert(!(PP && LexingRawMode) && "Already in raw mode!");
LexingRawMode = true;
Lex(Result);
LexingRawMode = PP == 0;