1

Closed

broken preprocessor handling.

description

If we have
 

if ID

...

endif

....
 
and ID is undefined then parsing is stopping immediately.
 
The problem is in the mTokens() override in PreProcessor.cs you set state.token to Token.SKIP_TOKEN if we aren't processing. This should be Antlr.Runtime.Tokens.Skip (which is what the underlying Lexer.NextToken() is looking for).
 
cheers
Closed Nov 5, 2010 at 3:20 PM by anbrad
Fixed

comments