This whitespace was not part of anything being tested, and it
introduces differences (that we don't actually care about) between the
output of "gcc -E" and glcpp.
Just eliminate this extra whitespace to reduce spurious test-case
failures.
-#define foo ( ) 1
+#define foo ()1
foo()
-#define bar () 2
-bar( )
+#define bar ()2
+bar()
-#define foo(x) ((x) + 1)
+#define foo(x) ((x)+1)
foo(bar)
-#define foo(x,y) x, two fish, red fish, y
+#define foo(x,y) x,two fish,red fish,y
foo(one fish, blue fish)
# define twoargs( x , y ) x y
# define threeargs( a , b , c ) a b c
noargs ( )
- onearg ( 2 )
- twoargs ( 3 , 4 )
+onearg ( 2 )
+twoargs ( 3 , 4 )
threeargs ( 5 , 6 , 7 )
-#define foo(a) foo(2 * (a))
+#define foo(a) foo(2*(a))
foo(3)
-#define foo(a) foo(2 * (a))
+#define foo(a) foo(2*(a))
foo(foo(3))
#define foo(bar) bar
-foo(1 + foo)
+foo(1+foo)