diff --git a/framaCIRGen_src/ACSLComment.cpp b/framaCIRGen_src/ACSLComment.cpp index 6a2c6c4320088e018ffcbaa8d6c93ae2d807ede6..bef7c7519709553b603527c93eb7daa4ec1df275 100644 --- a/framaCIRGen_src/ACSLComment.cpp +++ b/framaCIRGen_src/ACSLComment.cpp @@ -280,6 +280,7 @@ void ACSLComment::parseGhostGlobal( cpp.EnterSourceFile(file,0,loc); cpp.enableIncrementalProcessing(); clang::Parser::DeclGroupPtrTy Decl; + parser->Initialize(); #if CLANG_VERSION_MAJOR >= 15 clang::Sema::ModuleImportState mis = clang::Sema::ModuleImportState::NotACXX20Module; while (!parser->ParseTopLevelDecl(Decl,mis)) {