[Top][All Lists]

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

Re: [Tinycc-devel] [PATCH 2/2] tcc -E: preserve spaces (partial solution

From: Kirill Smelkov
Subject: Re: [Tinycc-devel] [PATCH 2/2] tcc -E: preserve spaces (partial solution)
Date: Wed, 25 Feb 2009 23:07:29 +0300
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Jan 21, 2009 at 07:07:43PM +0100, grischka wrote:
> Kirill Smelkov wrote:
>> [...] But the problem turned out to be in `tcc -E` inability to 
>> preserve
>> spaces between tokens. So e.g. the following ~/.Xresources
>>     XTerm*VT100*foreground: black
>>     ...
>> got translated to
>>     XTerm * VT100 * foreground : black
>> which is bad, bacause now X don't understand it.
>> Below is a newbie "fix" for the problem.
> Thanks.  I don't know whether you know but this is the
> third approach to the issue by now actually.
> 1) One using flags in parallel to the token stream:
>    http://landley.net/hg/tinycc/rev/a70ac19d704b
> 2) One by myself (unpublished so far) that uses space tokens
>    (and is so old that it probably doesn't apply anymore,
>     anyway, see below)
> 3) And now yours which is nice because it's rather small, just
>    also less complete.

Thanks for the info and thanks for committing the patches.

I don't know how it will turn out (I'm swamped with work, and it all
just grows and grows), but I wanted you to know that I'm still hoping to
complete my implementation.

Just decided to keep you informed.


reply via email to

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