[antlr-interest] Grammar StdCParser not defined

Vidar Håkestad vidar at hawkis.com
Sat May 6 07:11:37 PDT 2006


Hi
I'm trying to compile a grammar (actually the GNU C grammars), where Antlr 
2.7.6.b2 complains about not seeing the grammar it extends.

The StdParser is defined as (in StdCParser.g) as:
class StdCParser extends Parser;

The GnuCParser is defined (in GnuCParser.g) as:
class GnuCParser extends StdCParser;

Both grammars (and generated .java/.class files) resides in same folder.

Are there any settings (have read the chapter 'Grammar Inheritance' in the 
manual) that I have overlooked?

reagrds
hawkis


More information about the antlr-interest mailing list