|
From: | grischka |
Subject: | Re: [Tinycc-devel] tcc failed to compile after preprocess |
Date: | Sun, 27 Feb 2011 17:57:56 +0100 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Changming Xu wrote:
hello, everyone Tcc can not compile the output of 'tcc -E' with the following case:#include <math.h>int main() { } int my unubtu 10.04
Thanks, saw you fixed it: http://repo.or.cz/w/tinycc.git/commitdiff/185fba418978aabef36765fdfaf24d516f1a9f33 However would not adding just one line work as well, like: macro_ptr = ml.p; if (can_read_stream && *can_read_stream == &ml) *can_read_stream = ml.prev; if (ret != 0) goto no_subst; + spc = 0; } else { no_subst: if (!check_space(t, &spc)) tok_str_add2(tok_str, t, &cval); } --- grischka
[Prev in Thread] | Current Thread | [Next in Thread] |