[antlr-interest] nondeterminism warning

mzukowski at yci.com mzukowski at yci.com
Wed Aug 27 16:24:24 PDT 2003


(actual_generics)? and ~("end") conflict.  Antlr should handle it correctly
though.

Monty

-----Original Message-----
From: dm at cs.yorku.ca [mailto:dm at cs.yorku.ca] 
Sent: Monday, August 25, 2003 12:11 PM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] nondeterminism warning


Hi:

In my language, I have the following rules:

parent_list:
  class_type
  (feature_adaption)?      <---- *nondeterminism in this line
;

class_type:
  class_name
  (actual_generics)?
;

feature_adaption:
  ~("end") "end"
;

I am getting a nondeterminism warning using antlreclipse on the line denoted
by (*)

Can someone help me fix this please?

Cheers,

Dave

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list