0 posts in topic
Flat View  Flat View

Posted By:   AmyLee
Posted On:   Wednesday, August 1, 2012 02:40 PM

I am getting mismatch exceptions in places that I should not and have no idea how I can fix it.
For example, here are a couple of my grammar rules:

match : 'match(' hex ')';
label : alpha_character+;

Then when I try to make a label such as "command", I get a mismatch at the n, because it thinks I am trying to write "match(" when it sees the "ma" in the middle of command. 
Does anyone have an idea of how I can solve this problem?

Thank you.

About | Sitemap | Contact