[antlr-interest] [antlr3c] Need help working with ANTLR3_STRING...

Adamic Tomislav tomislav.adamic at gmail.com
Mon Aug 3 00:39:58 PDT 2009


Hi

I'm a bit puzzled with ANTLR API for ANTLR3_STRING... I need few
operations on strings and I could do it either by converting
ANTLR3_STRING into std::string (or std::wstring) or do it directly.
Well, I can't figure out either. So, let's say I want to create a copy
of some already existing ANTLR3_STRING. Is this the proper way of
doing it, so it doesn't leak memory:


More information about the antlr-interest mailing list