[antlr-interest] Possible bug in antlr-2.7.2
mzukowski at yci.com
mzukowski at yci.com
Thu Feb 5 10:10:03 PST 2004
MismatchedTokenException is being initialized incorrectly with a null
tokenNames parameter, as far as I can tell. I recommend running under a
debugger to see why that is.
Monty
-----Original Message-----
From: edcjones [mailto:edcjones at yahoo.com]
Sent: Thursday, February 05, 2004 7:02 AM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] Possible bug in antlr-2.7.2
Here is the traceback:
exception: java.lang.NullPointerException
java.lang.NullPointerException
at
antlr.MismatchedTokenException.tokenName(MismatchedTokenException.ja
at
antlr.MismatchedTokenException.getMessage(MismatchedTokenException.j
at
antlr.RecognitionException.toString(RecognitionException.java:67)
at java.lang.String.valueOf(String.java:2177)
at java.lang.StringBuffer.append(StringBuffer.java:361)
at GnuCEmitter_print.reportError(GnuCEmitter_print.java:151)
at GnuCEmitter_print.stringConst(GnuCEmitter_print.java:6120)
at GnuCEmitter_print.primaryExpr(GnuCEmitter_print.java:5615)
at GnuCEmitter_print.expr(GnuCEmitter_print.java:849)
at GnuCEmitter_print.initializer(GnuCEmitter_print.java:3037)
at GnuCEmitter_print.initDecl(GnuCEmitter_print.java:2898)
at GnuCEmitter_print.initDeclList(GnuCEmitter_print.java:723)
at GnuCEmitter_print.declaration(GnuCEmitter_print.java:394)
at GnuCEmitter_print.externalDef(GnuCEmitter_print.java:309)
at GnuCEmitter_print.externalList(GnuCEmitter_print.java:258)
at GnuCEmitter_print.translationUnit(GnuCEmitter_print.java:216)
at UnparsePlus.main(UnparsePlus.java:75)
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