diff --git a/lib/Lex/PPDirectives.cpp b/lib/Lex/PPDirectives.cpp index 625a204af9..3dbc528948 100644 --- a/lib/Lex/PPDirectives.cpp +++ b/lib/Lex/PPDirectives.cpp @@ -645,10 +645,14 @@ void Preprocessor::HandleDirective(Token &Result) { // C99 6.10.2 - Source File Inclusion. case tok::pp_include: + // MBG don't handle #include + break; // Handle #include. return HandleIncludeDirective(SavedHash.getLocation(), Result); case tok::pp___include_macros: - // Handle -imacros. + // MBG don't handle #include + break; + // Handle -imacros. return HandleIncludeMacrosDirective(SavedHash.getLocation(), Result); // C99 6.10.3 - Macro Replacement. @@ -671,8 +675,12 @@ void Preprocessor::HandleDirective(Token &Result) { // GNU Extensions. case tok::pp_import: + // MBG don't handle #include + break; return HandleImportDirective(SavedHash.getLocation(), Result); case tok::pp_include_next: + // MBG don't handle #include + break; return HandleIncludeNextDirective(SavedHash.getLocation(), Result); case tok::pp_warning: