Files
cdesktop/cde/util/tradcpp/tests/t37.c
Jon Trulson 215be15f16 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.
2019-10-30 19:19:21 -06:00

20 lines
187 B
C

#define BC //**/*
#define EC */**//
BC
comment?
EC
BC comment? EC
#define FOO(x) x
FOO(abc BC def EC ghi)
#define BAR(x, y) x y
BAR(abc BC def, ghi EC jkl)
BC
#define BAZ baz
EC
BAZ