Ignore line markers from C preprocessing stage

This commit is contained in:
Minseong Jang
2022-03-25 00:57:32 +09:00
parent 44d898f568
commit f361f52e7d
2 changed files with 1 additions and 1 deletions

View File

@@ -138,6 +138,7 @@ def polish(src, inc_path):
args = ["gcc",
"-I", inc_path,
"-E",
"-P",
"-",
]
proc = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)