[cfe-commits] BCPL comments not recognized when computing preamble
matthias_kleine at gmx.de
Wed Aug 24 09:21:27 PDT 2011
Is there any reason Lexer::ComputePreamble does not take external LangOptions into account, but uses default-constructed ones? As a result, source files that start with BCPL-comments are recognized as having no preambles, even if the file's language supports such comments.
Would the attached patch solve the problem?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2892 bytes
Desc: not available
More information about the cfe-commits