[antlr-interest] Grammar Problem
Thomas Jackson
thomas.jackson.iii at gmail.com
Fri Oct 12 06:58:04 PDT 2007
[09:45:02] java.lang.NullPointerException
at org.antlr.tool.ActionAnalysisLexer.mX_Y(ActionAnalysisLexer.java:139)
at org.antlr.tool.ActionAnalysisLexer.mTokens(ActionAnalysisLexer.java
:323)
at org.antlr.tool.ActionAnalysisLexer.nextToken(ActionAnalysisLexer.java
:69)
at org.antlr.tool.ActionAnalysisLexer.analyze(ActionAnalysisLexer.java
:43)
at org.antlr.tool.Grammar.examineAllExecutableActions(Grammar.java:1283)
at org.antlr.tool.Grammar.setGrammarContent(Grammar.java:567)
at org.antlr.tool.Grammar.setGrammarContent(Grammar.java:497)
at org.antlr.works.grammar.EngineGrammar.createNewGrammar(Unknown
Source)
at org.antlr.works.grammar.EngineGrammar.createParserGrammar(Unknown
Source)
at org.antlr.works.grammar.EngineGrammar.createGrammars(Unknown Source)
at org.antlr.works.grammar.EngineGrammar.analyze(Unknown Source)
at org.antlr.works.grammar.CheckGrammar.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
In generating a tree grammar in ANTLRWorks I get a messagebox that pops up
with the following error.
Does anyone know of what things could cause this?
I can send out the grammar if it helps but wanted to make the note short to
begin with.
Thanks
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071012/fbf8d62f/attachment.html
More information about the antlr-interest
mailing list