Implement #if and friends.
With this change, tests 41 through 49 all pass. (The defined operator appears to be somehow broken so that test 50 doesn't pass yet.)
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@ for test in *.c; do
|
||||
../glcpp < $test > $test.out
|
||||
gcc -E $test -o $test.gcc
|
||||
grep -v '^#' < $test.gcc > $test.expected
|
||||
diff -u $test.expected $test.out
|
||||
diff -B -u $test.expected $test.out
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user