diff options
Diffstat (limited to 'lib/Lex/PreprocessorLexer.cpp')
-rw-r--r-- | lib/Lex/PreprocessorLexer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Lex/PreprocessorLexer.cpp b/lib/Lex/PreprocessorLexer.cpp index 5a59849..33ccbc0 100644 --- a/lib/Lex/PreprocessorLexer.cpp +++ b/lib/Lex/PreprocessorLexer.cpp @@ -38,7 +38,10 @@ void PreprocessorLexer::LexIncludeFilename(Token &FilenameTok) { ParsingFilename = true; // Lex the filename. - IndirectLex(FilenameTok); + if (LexingRawMode) + IndirectLex(FilenameTok); + else + PP->Lex(FilenameTok); // We should have obtained the filename now. ParsingFilename = false; |