Skip to content
Commit 5a503e9f authored by Chris Lattner's avatar Chris Lattner
Browse files

we do in fact have to cache the EOF token returned by the preprocessor.

In the case of backtracking, the cached token lexer will be the only 
lexer on the stack, without this the token stack will be empty and EOF
won't be returned.

This fixes PR7072.

llvm-svn: 108124
parent 6635f983
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment