[antlr-interest] Viable Alternative Rule?
Nick Vlassopoulos
nvlassopoulos at gmail.com
Mon Aug 30 09:36:22 PDT 2010
Hello,
Maybe you somehow suppress the console output?
As far as I've seen, the antlrworks debugger (output tab) complains for
a mismatched character (although it proceeds to see the 'H' and build
a parse tree)
HTH,
Nikos
On Sun, Aug 29, 2010 at 4:40 PM, Ted Hoise <tedhoise at yahoo.com> wrote:
> VERY simple example
>
> rule : 'H' ;
>
> When I test this very simple rule, it works (in Antlrworks and Eclipse) of
> course for input 'H', but it also works for input 'fH', resulting in a token
> 'fH'. I do I suppress this behavior: it seems like an error should occur.
>
>
>
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
More information about the antlr-interest
mailing list