Add tradcpp to the repository, and use it as GENCPP (generic preprocessor)
With lots of experimenting, tradcpp (0.4) seems to work way better than gcc, and it's output is actually valid. We'll go with that for now.
This commit is contained in:
11
cde/util/tradcpp/tests/t16.good
Normal file
11
cde/util/tradcpp/tests/t16.good
Normal file
@@ -0,0 +1,11 @@
|
||||
x
|
||||
x
|
||||
x1x
|
||||
x1x
|
||||
xx
|
||||
x12x
|
||||
t16.c:10:1: Wrong number of arguments for macro c; found 1, expected 2
|
||||
x1x
|
||||
t16.c:11:1: Wrong number of arguments for macro c; found 0, expected 2
|
||||
xx
|
||||
FAILED
|
||||
Reference in New Issue
Block a user