[cfe-dev] Using the Lexer...

Alexei Svitkine alexei.svitkine at gmail.com
Wed Feb 11 18:09:12 PST 2009


> Ok, if you're using a preprocessor and you want it to expand macros etc,
> then the preprocessor has to own the lexer.  You should not create a lexer
> on the stack, you should do what the clang driver does.

Ah. Shouldn't there be an assert for this or something?

-Alexei



More information about the cfe-dev mailing list