tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] X(X(1)) (nested macro substitution)


From: grischka
Subject: Re: [Tinycc-devel] X(X(1)) (nested macro substitution)
Date: Sat, 30 Apr 2016 19:46:51 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Sergey Korshunoff wrote: ---
   PS: what about output with -E should include spaces: #define n 0xe {newline} 
n+1
You mean the attempts on your branch?  Horrible, of course ;)

I mean attached patch. It is not abount X(X(1)), but about
preprocessor output for
#define n 0xe
n+1
It must look like
0xe +1
and not
0xe+1

Yes, and what about

    #define n(x) x
    return n(0x1e)n(-1);

--> return 0x1e-1;

No result.  Make the patch 10 lines in the right place instead
of 60 lines in the wrong place, and it will work.

-- gr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]