[antlr-interest] [C target] constructex bug

Юрушкин Михаил yurushkin at rambler.ru
Sat Oct 31 16:12:10 PDT 2009


if "k" options isn't set parset doesn't construct and initialize exceptions

for example, if k=somevalue, than the following code is generated:
                 CONSTRUCTEX();
                 EXCEPTION->type         = ANTLR3_NO_VIABLE_ALT_EXCEPTION;
                 EXCEPTION->message      = (void *)"";
                 EXCEPTION->decisionNum  = 6;
                 EXCEPTION->state        = 0;

but it's not generated when k=*


-- 
Best regards,
Michael


More information about the antlr-interest mailing list