[antlr-interest] [C Target][3.1.1] erroneous code generation when using scoped attributes
register
register72 at gmail.com
Thu May 28 03:24:53 PDT 2009
When a rule ( called "field" in this specific example ) has a scoped
attribute the following code is generated:
if (SCOPE_TOP(field)>free != NULL)
{
SCOPE_TOP(field)>->free(SCOPE_TOP(field));
}
Obviously there is a missing "-" in the first line and a spurious ">" in the
second line of code.
Greets,
Luca.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090528/6ccfcc6e/attachment.html
More information about the antlr-interest
mailing list