[antlr-interest] The ^ and !

Alexander Lenski alenski at dca.net
Fri Sep 20 10:59:53 PDT 2002


>>From the CHANGES-2.7.2.txt:

"Bad code gen with ^ or ! on tree root
when building trees in a tree walker grammar such as:

expr:   #(PLUS^ expr expr)  
    |   i:INT
    ;

Fortunately, ^ is simply redundant; removing it makes code ok.
Added a warning.  Added an error message for ! saying that it
is not implemented."

Are the ^ and ! not implemented yet or they are gone forever?

Thanks

Alexander Lenski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20020920/543d030c/attachment.html


More information about the antlr-interest mailing list