[antlr-interest] Bug in tree construction generated code
Sinan
sinan.karasu at boeing.com
Fri Jan 24 11:45:41 PST 2003
Terence Parr wrote:
>
> Hi Pete,
>
> Unfortunately, this is a "feature" that I was uncomfortable with
> introducing way back when that has bitten us all. STRING is a
> shorthand for a reference to that token in the rule's AST. :( I'd be
> happy to remove this ambiguous feature, but it would break a lot of
> code :(
>
terence,
I submit that whatever this breaks would be almost inconsequential. ( A
lot of qualifiers there)
In these cases one almost always wants to access the derived AST , and
not the Base AST.
So, everyone ends up putting a # there anyway...
FWIW..
Sinan
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list