[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH 2/2] tcc -E: preserve spaces (partial solution
Re: [Tinycc-devel] [PATCH 2/2] tcc -E: preserve spaces (partial solution)
Wed, 25 Feb 2009 23:07:29 +0300
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
>> 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:
> 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.
|[Prev in Thread]
||[Next in Thread]|
- Re: [Tinycc-devel] [PATCH 2/2] tcc -E: preserve spaces (partial solution),
Kirill Smelkov <=