[antlr-interest] lexical nondeterminism

John Merrells merrells at yahoo.com
Wed Nov 21 10:39:31 PST 2001


> QName: (NCName COLON)? NCName;

Howard,

I have the same grammar... we must be working on the same
problem ;-) I solved this problem by having the QName rule
in the parser instead of the Lexer. This removes the ambiguity
with k==2.

John



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


 

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



More information about the antlr-interest mailing list