The following pair of rules result in the following compile error:

 

The following token definitions can never be matched because prior
tokens match the same input: B

 

A : (~'\\') => {int x = 0;} . ;

B : '\\' . ;

 

I'm not sure if this is a bug or by design. J

 

Sam

_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org:8080/mailman/listinfo/antlr-dev

Reply via email to