tccpp.c: reset spc after macro_subst_tok()

This bug doesn't seem to affect anything currently, but does interfere
with miscellaneous tccpp.c fixes for the test cases described here:

http://lists.nongnu.org/archive/html/tinycc-devel/2015-05/msg00002.html
This commit is contained in:
Philip 2015-05-02 12:26:10 +00:00
parent 3a922ad2ba
commit 1e878200f7

View File

@ -3120,6 +3120,7 @@ static void macro_subst(TokenString *tok_str, Sym **nested_list,
macro_ptr = (int *)ptr;
tok = t;
ret = macro_subst_tok(tok_str, nested_list, s, can_read_stream);
spc = tok_str->len && is_space(tok_str->str[tok_str->len-1]);
ptr = (int *)macro_ptr;
macro_ptr = ml.p;
if (can_read_stream && *can_read_stream == &ml)