output space after TOK_PPNUM which followed by '+' or '-'
* correct -E output for the case ++ + ++ concatenation
do this only for expanded from macro string
and only when tcc_state->output_type == TCC_OUTPUT_PREPROCESS
This commit is contained in:
8
tests/pp/14.expect
Normal file
8
tests/pp/14.expect
Normal file
@ -0,0 +1,8 @@
|
||||
extern int printf(const char *format, ...);
|
||||
int main(void)
|
||||
{
|
||||
int a = 0, b = -1;
|
||||
int i1 = a +++ ++ b;
|
||||
printf("i1 = %d\n", i1);
|
||||
return 0x1e -1;
|
||||
}
|
||||
Reference in New Issue
Block a user