[antlr-interest] bug in ANTLRv3.g + bang after rule id in walker?

Terence Parr parrt at cs.usfca.edu
Wed Jul 16 10:19:04 PDT 2008


can remove for now.
T
On Jul 16, 2008, at 8:18 AM, Jens Boeykens wrote:

> Hi,
>
> Is a bang ('!') in a parser rule (like "r! : b -> ^(...) ;") needed  
> in the corresponding walker rule "r!: ^(...)"  ? Or can it be removed?
>
> Btw the bang was never added to the AST tree in "rule" in ANTLRv3.g.  
> I added it to the tree in order to be able to regenerate the bang.
>
> Jens



More information about the antlr-interest mailing list