[antlr-interest] Unexpected token (antlr 2.7.6)

Vidar Håkestad vidar at hawkis.com
Sat May 13 04:31:37 PDT 2006


The Antlr compiler generates the error message:

line x:y: unexpected token: class

when I put a Java documentation in front of my lexer class definition in the 
grammar:

/**
 * Some description of the MyLexer
 */
class MyLexer extends Lexer;

I'm mostly using the plugin for Eclipse.
Do not experience this using the commend line tool, but that i version 2.7.5.

Anyone else experiencing the same?


Regards
Hawkis


More information about the antlr-interest mailing list