[antlr-interest] Tutorial Seems to Have Improper Java

Matthew Tedder teddemc at yahoo.com
Thu Nov 18 13:45:10 PST 2004



While I code in C/C++ and flex/bison, I am new to Java
and trying to learn antlr, too.  The following link is
to code I found in an antlr tutorial:

http://pastebin.com/121239

But it doesn't work.. javac says it's expecting '{'
after:

class ExrLexer extends lever;

Can anyone tell me what is wrong here?  Once I get
just one simple thing working, I think I could be
happy playing with it for a while..

Matthew






 
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