Adapt to changed C preprocessor hook

This commit is contained in:
Martin Kinkelin 2024-03-03 20:04:41 +01:00
parent 3f1c8a77a2
commit 113443db42
5 changed files with 26 additions and 3 deletions

View file

@ -71,7 +71,7 @@ FileName getOutputPath(const Loc &loc, const char *csrcfile) {
}
} // anonymous namespace
FileName runCPreprocessor(FileName csrcfile, const Loc &loc, bool &ifile,
FileName runCPreprocessor(FileName csrcfile, const Loc &loc,
OutBuffer &defines) {
TimeTraceScope timeScope("Preprocess C file", csrcfile.toChars());
@ -154,6 +154,5 @@ FileName runCPreprocessor(FileName csrcfile, const Loc &loc, bool &ifile,
fatal();
}
ifile = true;
return ipath;
}