[antlr-interest] Mutual left recursive problem

foxterri foxterri foxterri2 at hotmail.com
Thu Mar 25 01:56:34 PDT 2010


>>
>> Hi
>>
>> I have this left recursive problem which i cannot figure out how to solve
>> and ANTLR WORKS cannot recognize the left recursive problem.
>>
>
>There is no "left recursive" rule in the part of your grammar you posted.
>Can you post, or attach, the complete grammar?
>
>Regards,
>
>Bart.

The complete grammer is attached, it is not completely done, but should give a good overview of it.

debugging it in eclipse gives the following error:

error(210): The following sets of rules are mutually left-recursive [primaryNoNewArray, arrayAccess, methodInvocation, primary, fieldAccess]



 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lexpars.g
Type: application/octet-stream
Size: 14765 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20100325/9a92f9d3/attachment.obj 


More information about the antlr-interest mailing list