On Mon, Mar 28, 2011 at 5:58 PM, J. Talafous <[email protected]> wrote:
> Why am I getting an NPE on the following test grammar? Thanks.
> I am having a hard time getting the @header into my grammar without
> getting a NPE error. What am I doing wrong? Thanks for the help.
>
>
For ANTLR 3.x, the following order should be held:
grammar GrammarName;
options { ... }
tokens { ... }
@header { ... }
@members { ... }
parser/lexer rules ...
Regards,
Bart.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.