[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Re: macro_ptr bugfix doesn't work, preprocess_init ca
From: |
grischka |
Subject: |
Re: [Tinycc-devel] Re: macro_ptr bugfix doesn't work, preprocess_init called too late |
Date: |
Mon, 28 Apr 2008 19:28:08 +0200 |
What about moving "macro_ptr = NULL" into tcc_cleanup?
> Heyas,
>
> A follow up, preprocess_init() is probably the wrong place to put
> macro_ptr = NULL, it requires that a file be open (tcc_open()) and
> this never occurs during tcc_new(), tcc_define_symbol() dies on a
> second state after the first one errored.
>
> Kind Regards,
> Sam K
>