[antlr-interest] Need help vector in C generated code
Jim Idle
jimi at temporal-wave.com
Wed Jan 12 09:33:55 PST 2011
You should not specify k unless you have good reason to and you need
output=AST if you want to use the vectors, but then you should really use
an AST and not try to perform things in the parser as the next problem you
will have is tracking things that you malloc when a syntax error is found.
Jim
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Jeffrey Newman
> Sent: Wednesday, January 12, 2011 1:51 AM
> To: Aaron Leiby
> Cc: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] Need help vector in C generated code
>
> First, thanks for the reply.
>
> My options are:
>
> options {
> language = C;
> k = 4;
> }
>
> I didn't think I should have to. But...
>
> Jeffrey
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address
More information about the antlr-interest
mailing list