[antlr-interest] [antlr3c] Posible bug i C runtime generated code (ANTLR v3.1.3 and libantlr3c 3.1.3)
Jim Idle
jimi at temporal-wave.com
Mon Aug 3 09:51:44 PDT 2009
Adamic Tomislav wrote:
> Hi
>
> Using two grammars below, ANTLR generates code that is not compilable
> with either C or C++ compiler. Specifically, generated file
> "ExampleGrammarEval.c" contains expression "MyStruct value = NULL;"
>
Please see many prior answers to this one. You must use pointers and not
structs.
Jim
More information about the antlr-interest
mailing list