At 08:45 7/05/2009, [email protected] wrote:
>[22:21:26] error(210):  The following sets of rules are mutually 
>left-recursive [value_expression_primary]
>[22:21:26] Aborting because the following rules are mutually 
>left-recursive:
>     [[T.value_expression_primary,index=2,line=16]]
[...]
>value_expression_primary :
[...]
>| value_expression_primary PERIOD method_name sql_argument_list?

There's your left recursion.

With the general recursion pattern:

rule
   : a | b | c | rule d | rule e
   ;

The correct replacement is:

rule
   : (a | b | c) (d | e)*
   ;


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to