[antlr-interest] Re: Problem with noConstructors option
lgcraymer
lgc at mail1.jpl.nasa.gov
Fri Mar 19 13:10:52 PST 2004
Note the code in the documentation--FGLC (file/grammar/lexer and C/C++ only). You are not doing anything wrong; the Java code
generator does not support this option.
--Loring
--- In antlr-interest at yahoogroups.com, Jason <jasonriz at y...> wrote:
> Hello,
>
> The beginning of my parser grammar looks similar to
> this:
>
> header
> {
> package com.mycompany.mypackage;
> import java.util.*;
> }
>
> class MyParser extends Parser;
>
> options
> {
> importVocab=MyVocab;
> noConstructors=true;
> k=3;
> codeGenBitsetTestThreshold=999;
> }
>
> Antlr has no complaints when I build the parser, but
> the resulting .java file DOES contain the default
> constructors. I'm sure I've done something silly but
> I can't figure out what it might be. Any suggestions?
> Thanks in advance.
>
> -jason
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list