[antlr-interest] Newbie NonDeterminism Error

Monty Zukowski monty at codetransform.com
Sat Oct 2 09:35:00 PDT 2004


Look at the lexer documentation about "literals".

Monty

On Oct 2, 2004, at 6:04 AM, PAQ2000 wrote:

>
> Hi, I'm writing a scanner for a pseudo assembly language program.
> Inside, they have a command LOAD and LOADI.
>
> This is how my code looks:
>
> LOAD:  "load";
> LOADI: "loadi";
>
>
> I've tried fiddling with the code, and reading FAQs and message
> boards,  but I can't get rid of the error. How would I write it so
> there's no nondeterminism?
>
> Thanks
>
> - Jason
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list