[antlr-interest] Problem with ANTLR for C++

Hrvoje Nezic hrvoje.nezic at envox-lab.hr
Tue Nov 19 02:35:50 PST 2002


I built and tried the Calc example with ANTLR C++.

When syntax of the input string is correct, it works ok,
but if it is not (like below where there is an erroneous "-" character),
then I get an exception with garbage instead of a meaningful
message:

1+3*10-2
exception: ŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢŢ}§@

Perhaps someone could give me a clue why this is happening.

Regards,
Hrvoje Nezic



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list