tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Inserting spaces in output from -E


From: grischka
Subject: Re: [Tinycc-devel] Inserting spaces in output from -E
Date: Thu, 05 May 2016 09:49:08 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Michael Matz wrote: ---
One remark: I believe in the tcc_preprocess routine
s1->ppfp is always set, otherwise it wouldn't have been called.

True.

Also, some things can be reused.  Ideally, after minor modifications,
it could look like this in tcc_preprocess:

    } else
        spcs = maybe_need_space(token_seen, tok);

with the new logic provided by that new function.

Btw, for tinyness I'd suggest to consider only valid C (which is not
"-" followed by ">" as two tokens, for example).

-- gr

Ciao,
Michael.




reply via email to

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