|
@@ -470,9 +470,6 @@ void Parser::Initialize() {
|
|
|
EnterScope(Scope::DeclScope);
|
|
|
Actions.ActOnTranslationUnitScope(getCurScope());
|
|
|
|
|
|
- // Prime the lexer look-ahead.
|
|
|
- ConsumeToken();
|
|
|
-
|
|
|
// Initialization for Objective-C context sensitive keywords recognition.
|
|
|
// Referenced in Parser::ParseObjCTypeQualifierList.
|
|
|
if (getLangOpts().ObjC1) {
|
|
@@ -527,6 +524,11 @@ void Parser::Initialize() {
|
|
|
PP.SetPoisonReason(Ident___abnormal_termination,diag::err_seh___finally_block);
|
|
|
PP.SetPoisonReason(Ident_AbnormalTermination,diag::err_seh___finally_block);
|
|
|
}
|
|
|
+
|
|
|
+ Actions.Initialize();
|
|
|
+
|
|
|
+ // Prime the lexer look-ahead.
|
|
|
+ ConsumeToken();
|
|
|
}
|
|
|
|
|
|
namespace {
|