[antlr-interest] antlr2-C++ target patching?!

Jim Idle jimi at temporal-wave.com
Mon Feb 20 09:13:30 PST 2012


> -----Original Message-----
> From: Oliver Kowalke [mailto:oliver.kowalke at gmx.de]
> Sent: Sunday, February 19, 2012 9:56 PM
> To: Jim Idle
> Subject: Re: [antlr-interest] antlr2-C++ target patching?!
>
> Am 19.02.2012 22:47, schrieb Jim Idle:
> > You should not be using C++ inside the actions. Create a helper
> class,
> > and call from it. The headers are extern "C" and then compiler the
> > generated C as C++ and you are fine.
>
> that means that I've to reimplement all the C++ containers from teh STL
> or multi-index container etc. (if ever implementable in C).

What makes you think that? Your helper class(es) can use anything that
they like.


More information about the antlr-interest mailing list