We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf7dd1 commit aabd159Copy full SHA for aabd159
cxxheaderparser/preprocessor.py
@@ -383,13 +383,13 @@ def _preprocess_file(filename: str, content: typing.Optional[str]) -> str:
383
384
if depfile is not None:
385
assert deps is not None
386
- with open(depfile, "w") as fp:
387
- fp.write(f"{target}:")
+ with open(depfile, "w") as dfp:
+ dfp.write(f"{target}:")
388
for dep in reversed(list(deps.keys())):
389
dep = dep.replace("\\", "\\\\")
390
dep = dep.replace(" ", "\\ ")
391
- fp.write(f" \\\n {dep}")
392
- fp.write("\n")
+ dfp.write(f" \\\n {dep}")
+ dfp.write("\n")
393
394
return filtered
395
0 commit comments