- Ted, please check.
- Missing test case because PTH won't reliably cache the tokens in a
test case. *cough*
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68966
91177308-0d34-0410-b5e6-
96231b3b80d8
if (!CondInfo.FoundNonSkip) {
CondInfo.FoundNonSkip = true;
- // Consume the eom token.
+ // Scan until the eom token.
CurPTHLexer->ParsingPreprocessorDirective = true;
- LexUnexpandedToken(Tok);
- assert(Tok.is(tok::eom));
+ DiscardUntilEndOfDirective();
CurPTHLexer->ParsingPreprocessorDirective = false;
break;