[antlr-interest] Using composite grammars

rhann at rationalcommerce.com rhann at rationalcommerce.com
Wed Sep 8 03:34:10 PDT 2010


I seem to be making an elementary blunder with composite grammars.

Can anyone point out documentation describing the use of composite
grammars in more detail than is found in the wiki article?  I'm
getting this:

[10:48:39] error(161): dbSQL.g:14:8: combined grammar dbSQL cannot import combined grammar dbDML
[10:48:39] error(100): dbSQL.g:15:1: syntax error: antlr: dbSQL.g:15:1: unexpected token: import
[10:48:39] error(150):  grammar file dbSQL.g has no rules

Roy




More information about the antlr-interest mailing list