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.
This commit is contained in:
Edmund Grimley Evans
2016-05-04 21:37:11 +01:00
parent 75243f744c
commit f5f82abc99
4 changed files with 78 additions and 3 deletions

View File

@ -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()-