[antlr-interest] charVocabulary

Ric Klaren klaren at cs.utwente.nl
Tue Apr 20 06:22:08 PDT 2004


Hi,

Try replacing the else clause of getMessage in NoViableAltForCharException.java
with:

else {
	mesg += "0x"+Integer.toHexString((int)foundChar).toUpperCase();
}

That should at least give you the intended value I hope...

Cheers,

Ric
--
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
 "Don't call me stupid." "Oh, right. To call you stupid would be an insult
    to stupid people. I've known sheep that could outwit you! I've worn
              dresses with higher IQs!" --- A Fish Called Wanda



 
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