[Top][All Lists]

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

Re: [Tinycc-devel] tcc failed to compile after preprocess

From: grischka
Subject: Re: [Tinycc-devel] tcc failed to compile after preprocess
Date: Sun, 27 Feb 2011 17:57:56 +0100
User-agent: Thunderbird (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:

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 {
             if (!check_space(t, &spc))
                 tok_str_add2(tok_str, t, &cval);

--- grischka

reply via email to

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