[antlr-interest] C++ problem, just exits with code -1

clocKwize clockwize at blueyonder.co.uk
Fri Jan 7 14:13:04 PST 2005


hi, i'm using dev-c++, i've created a static lib, and used the calc 
example, but change it so it takes a string directly for parsing.

if i give it "1+2;" it parses fine, if i give it "1+2" it says missing 
SEMI, which is great, but if i pass it something totally wrong, like 
"1,2,3,4" it just exits...

any idea why this happens?


thank you,

Mike


More information about the antlr-interest mailing list