On 23/11/2009, at 8:45 PM, David-Sarah Hopwood wrote:
> A and NOTA should be fragment rules ...

On 23/11/2009, at 8:15 PM, Gavin Lambert wrote:
> The input "\a" by itself will produce a NOTA token, since that's the best-fit 
> non-fragment rule.
> 
> Your parser is however not expecting that.  Almost certainly, both A and NOTA 
> should be fragment rules.

You're both quite right, changing the rules to be fragment solved the issue.

Thanks for the help!

Vipul

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=.


Reply via email to