Parser base class not supported
Brought to you by:
tjuerge
antlr (at least version 2.7.5) allows you to specify a
base class for your parser class, like this:
class TinyCParser extends
Parser("antlr.debug.ParseTreeDebugParser");
options {
k=3;
}
(See the section " Parser Class Definitions" in the
"ANTLR Meta-Language" chapter of the antlr reference
manual)
The ANTLR eclipse plugin gives a parse error on this:
"expecting SEMI, found
'("antlr.debug.ParseTreeDebugParser")'. As a result,
the plugin just doesn't recognize the parser class in
the grammar file.
This was tested with version 4.0.0.b2.
This feature is working in the latest version (4.1.3)