there is following problem. I have made simple grammar, generated c. file 

But when I try to get "tokens text", the error is occured. here is a code of getters:

#define getTokenText(token) string((char*)token->tokText.chars)
#define getTokenInteger(token) atoi((char*)token->tokText.chars)

I think, that tokens aren't initialized correctly, but what I did wrong...

-- 

Написано в почтовом клиенте браузера Opera: http://www.opera.com/mail/
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to