From f5f82abc99424c4ece836000934fcf57a867c635 Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Wed, 4 May 2016 21:37:11 +0100 Subject: Insert spaces between certain tokens when tcc is invoked with -E. Insert a space when it is required to prevent mistokenisation of the output, and also in a few cases where it is not strictly required, imitating GCC's behaviour. --- tests/pp/15.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/pp/15.c') diff --git a/tests/pp/15.c b/tests/pp/15.c index 28a12bd..dc2b8d1 100644 --- a/tests/pp/15.c +++ b/tests/pp/15.c @@ -19,3 +19,8 @@ return A + B; #define B1 C1+2 #define C1 A1+3 return A1 + B1; + +#define i() x +#define n() 1 +i()i()n()n()i() +i()+i()-n()+n()- -- cgit v1.3.1