I'm running the latest antlr eclipse plugin (Antlr - 
http://antlrv3ide.sourceforge.net/updates - eclipse 3.5).  When there's a 
problem in the grammar, I almost always see the following error message:

ANTLR Parser Generator  Version 3.4.
Using project classpath: No.
Grammar: C:\Users\scotts\workspace3.5\SolrParser\Solr\SolrQuery.g
java.lang.NoSuchFieldError: offendingToken
      at 
org.deved.antlride.runtime.AntlrErrorListener.extractToken(AntlrErrorListener.java:108)
      at 
org.deved.antlride.runtime.AntlrErrorListener.report(AntlrErrorListener.java:79)
      at 
org.deved.antlride.runtime.AntlrErrorListener.message(AntlrErrorListener.java:63)
      at 
org.deved.antlride.runtime.AntlrErrorListener.error(AntlrErrorListener.java:53)
      at org.antlr.tool.ErrorManager.syntaxError(ErrorManager.java:768)
      at org.antlr.grammar.v3.ANTLRParser.reportError(ANTLRParser.java:443)
      at 
org.antlr.runtime.BaseRecognizer.recoverFromMismatchedToken(BaseRecognizer.java:613)
      at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:115)
      at org.antlr.grammar.v3.ANTLRParser.grammar_(ANTLRParser.java:707)
      at org.antlr.tool.Grammar.parseAndBuildAST(Grammar.java:644)
      at org.antlr.Tool.getRootGrammar(Tool.java:626)
      at org.antlr.Tool.process(Tool.java:459)
      at org.deved.antlride.runtime.Tool2.main(Tool2.java:24)
BUILD SUCCESSFUL

This has no information about what or where the problem is.  I figured out how 
to compile the grammar from the command line which gave me a specific error 
(and told me where the problem was).  I guess I think this is a bug.  Not sure 
if this is the right place to post it, but I'm not sure where else to post it 
either.

Scott

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.

Reply via email to