summaryrefslogtreecommitdiffstats
path: root/clang/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-02 21:26:45 +0000
committerChris Lattner <sabre@nondot.org>2006-07-02 21:26:45 +0000
commitecfeafe3ba7bfcbbf06cc262099ccf605d7bbc1d (patch)
treea51cd318c994a264ba20d17211fcf08b054d5b34 /clang/Lex/Lexer.cpp
parentd6178a687098aead0b61c779fa0e356578d4b69f (diff)
downloadbcm5719-llvm-ecfeafe3ba7bfcbbf06cc262099ccf605d7bbc1d.tar.gz
bcm5719-llvm-ecfeafe3ba7bfcbbf06cc262099ccf605d7bbc1d.zip
Fix some minor bugs handling _Pragma, including
test/Preprocessor/_Pragma_syshdr.c llvm-svn: 38609
Diffstat (limited to 'clang/Lex/Lexer.cpp')
-rw-r--r--clang/Lex/Lexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/Lex/Lexer.cpp b/clang/Lex/Lexer.cpp
index 68ff3777dfc..65b0012cff7 100644
--- a/clang/Lex/Lexer.cpp
+++ b/clang/Lex/Lexer.cpp
@@ -43,6 +43,7 @@ Lexer::Lexer(const SourceBuffer *File, unsigned fileid, Preprocessor &pp,
BufferStart(BufferPtr),
BufferEnd(BufEnd ? BufEnd : File->getBufferEnd()),
InputFile(File), CurFileID(fileid), PP(pp), Features(PP.getLangOptions()) {
+ Is_PragmaLexer = false;
InitCharacterInfo();
assert(BufferEnd[0] == 0 &&
OpenPOWER on IntegriCloud