tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Preprocess enter an endless loop when use macro with


From: KHMan
Subject: Re: [Tinycc-devel] Preprocess enter an endless loop when use macro with line feed
Date: Sun, 02 Dec 2007 20:49:32 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4

Marc Andre Tanner wrote:
> On Fri, Nov 23, 2007 at 09:15:12AM +0800, Feng Nauh wrote:
>> for example:
>> [snip]
>> "tcc -E lf_macro.c", then tcc enter an endless loop; but compile is ok.
> 
> Yep, the problem seems to be that within tcc_preprocess parse_flags is
> ORed with PARSE_FLAG_LINEFEED this causes an endless loop in
> macro_subst_tok (line 3268) because next_nomacro will always set tok to
> TOK_LINEFEED.
> [snip snip]

Committed to branch "incoming", thanks.

Standard message about the hg repository:
=========================================

tcc's unofficial public developer's repository is at:
  http://hg.sharesource.org/mercurialtcc/
Synchronization with official CVS (by grischka) is ongoing.
Gregg Reynolds is compiling technical documentation at:
  http://tcc.wikidot.com/
Incoming patches in need of independent testing:
  1 (+1 doc patch) (committed under branch "incoming")

Maintainers/Owner wanted for tcc's Mercurial repository, please
ping the list if interested. ShareSource plans to allow multiple
repositories per project soon, so participation most welcome.

-- 
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia




reply via email to

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