mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
Adapt to changed C preprocessor hook
This commit is contained in:
parent
3f1c8a77a2
commit
113443db42
5 changed files with 26 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue