[antlr-interest] c target: "string a = NULL; " generated

Юрушкин Михаил yurushkin at rambler.ru
Sun Sep 20 08:35:36 PDT 2009


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?

-- 
Best regards,
Michael


More information about the antlr-interest mailing list