Just a thought: depending on what you do with the things after a 'Comment:',
you could just match .+ :

asline  : 'Comment:' .+;

/Pop

2011/1/28 Robert J. Hansen <[email protected]>

> > Same apology goes here, attached is cap of my run of NOCHandle in the
> interpreter, grammar cut and pasted from your original mail. The interpreter
> has quirks though, have you tried running it in the debugger instead? And
> what versions of antlr/antlrworks are you running?
>
> I have tried running it in the debugger: same result.  words derives into
> two NoViableAltException(0@[null]).
>
> I'm running ANTLRworks 1.4.2, the OS X-specific app package version of it,
> with ANTLR 3.3 on the CLASSPATH.
>
>

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

Reply via email to