[Top][All Lists]

[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 (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.


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


reply via email to

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