$$ would work. That's what Bison uses in a [kinda-]similar case. I was
certainly more concerned with consistency than which token to use.

Sam

-----Original Message-----
From: Terence Parr [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 17, 2008 7:07 PM
To: Jim Idle
Cc: Sam Harwell; [email protected]
Subject: Re: [antlr-dev] "Ambiguous references" in rewrite rules still
causing headaches


Just $$.  I guess I was thinking about ## shorthand from version 2  
antlr.  $this and $self make me nervous because they are normally  
associate with objects and might refer to the current grammar/parser  
not the rule.

T
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org:8080/mailman/listinfo/antlr-dev

Reply via email to