[antlr-interest] Ambiguous reference
Prerovsky, Tomas
tomas.prerovsky at capgemini.com
Thu Nov 18 07:49:54 PST 2010
Hi,
the following line :
expression
:
(pairing->pairing) ( (expression)=> rhs=expression -> ^(APPLY $expression $rhs) | )
;
causes in the latest build of ANTLR 3.2 (Sep 23, 2009) the error:
"reference $expression is ambiguous; rule expression is enclosing rule and referenced in the production (assuming enclosing rule)
|---> (pairing->pairing) ( (expression)=> rhs=expression -> ^(APPLY $expression $rhs) | ) "
ANTLR 3.0.1 accepts the given line without reporting an error.
kind regards
Tomas
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this message.
More information about the antlr-interest
mailing list