[antlr-interest] c target: "string a = NULL; " generated
Jim Idle
jimi at temporal-wave.com
Sun Sep 20 11:49:15 PDT 2009
On 09/20/2009 08:35 AM, Юрушкин Михаил wrote:
> There is also one question. I haven't found the answer on this one yet :(
>
> I use C target, but compile it as C++ code. there is a following problem:
> all variables are initialized by NULL value. So I get something like that:
>
>
>> string a = NULL;
>>
> How can I exclude such definitions?
>
>
Please read past posts about this (markmail search).
It cannot really be done unless I don't initialize any variables and
such initializations are relied upon. You need to use pointers not objects.
Jim
More information about the antlr-interest
mailing list