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: Fri, 29 Apr 2016 19:06:58 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Sergey Korshunoff wrote: ---
And currently output is identical for the case #define A B+1

correction for X(X(X(X(X(1)))))
https://github.com/seyko2/tinycc/commit/a95cb9a7d90f844fb6f5e8f14eaa8798af71577f

I think a patch is quite usefull. It adds a right replacement for the
nested macro calls and don't break any other cases for macro calls.
But any additional cases when new algo don't work are welcom.

A useful patch that does not add lines:
http://repo.or.cz/tinycc.git/commitdiff/256078933c8152038fd0d4fbff1d92b3bb3a14a3

-- gr




reply via email to

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