mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Ignore line markers from C preprocessing stage
This commit is contained in:
@@ -138,6 +138,7 @@ def polish(src, inc_path):
|
|||||||
args = ["gcc",
|
args = ["gcc",
|
||||||
"-I", inc_path,
|
"-I", inc_path,
|
||||||
"-E",
|
"-E",
|
||||||
|
"-P",
|
||||||
"-",
|
"-",
|
||||||
]
|
]
|
||||||
proc = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
proc = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ if
|
|||||||
grep 'main-return-type' out.txt ||\
|
grep 'main-return-type' out.txt ||\
|
||||||
grep 'conversions than data arguments' out.txt ||\
|
grep 'conversions than data arguments' out.txt ||\
|
||||||
grep 'int-conversion' out.txt ||\
|
grep 'int-conversion' out.txt ||\
|
||||||
grep 'incompatible redeclaration' out.txt ||\
|
|
||||||
grep 'ordered comparison between pointer and zero' out.txt ||\
|
grep 'ordered comparison between pointer and zero' out.txt ||\
|
||||||
grep 'ordered comparison between pointer and integer' out.txt ||\
|
grep 'ordered comparison between pointer and integer' out.txt ||\
|
||||||
grep 'eliding middle term' out.txt ||\
|
grep 'eliding middle term' out.txt ||\
|
||||||
|
|||||||
Reference in New Issue
Block a user