[antlr-interest] super grammar surprise
Lloyd Dupont
lloyd at nova-mind.com
Wed May 25 16:24:51 PDT 2005
I'm writting a subgrammar of the GNU-C grammar.
I don't know if my problem is due to a 4 level inheritance (Parser -> StdCParser -> GnuCParser -> ObjectiveCParser) but anyway, I had the surprise that the class code (as in:
class MyParser extends Parser;
{
// class code
}
idList : ( ID )+; // parser rule definition
) is not passed on the subclass?!
Is it a bug or a feature?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050526/5876db00/attachment.html
More information about the antlr-interest
mailing list