[cfe-commits] r38911 - /cfe/cfe/trunk/Driver/clang.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:25:41 PDT 2007
Author: sabre
Date: Wed Jul 11 11:25:41 2007
New Revision: 38911
URL: http://llvm.org/viewvc/llvm-project?rev=38911&view=rev
Log:
Make ParseTranslationUnit prime the lexer lookahead
Modified:
cfe/cfe/trunk/Driver/clang.cpp
Modified: cfe/cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Driver/clang.cpp?rev=38911&r1=38910&r2=38911&view=diff
==============================================================================
--- cfe/cfe/trunk/Driver/clang.cpp (original)
+++ cfe/cfe/trunk/Driver/clang.cpp Wed Jul 11 11:25:41 2007
@@ -621,9 +621,6 @@
PP.EnterSourceFile(MainFileID, 0, true);
- // Prime the lexer look-ahead.
- P.ConsumeToken();
-
P.ParseTranslationUnit();
// Start parsing the specified input file.
More information about the cfe-commits
mailing list