On Thursday 28 of November 2013, Alp Toker wrote:
> While trying to get this test working, I noticed that removing the
> trailing EOF from rewrite-includes-bom.c causes a lexer crash:
>
> Assertion failed: (PP && "Cannot reset token mode without a
> preprocessor"), function resetExtendedTokenMode, file
> /Users/alp/Projects/llvm-work/upstream/clang/lib/Lex/Lexer.cpp, line 134.
>
> Looks like a pre-existing problem though, will file a PR.

 See "[PATCH] Avoid lexer crash with -frewrite-includes".

-- 
 Lubos Lunak
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to