[antlr-interest] C-Runtime in C++ prog
Jim Idle
jimi at temporal-wave.com
Sat Feb 16 14:42:44 PST 2008
The function you install must have C linkage, but you should be able to
throw an exception if it is compiled with exception handling as the C
library does not try to catch anything. But, by that time you have
already 'caught' the exception so there is probably no need anyway ;-)
Jim
> -----Original Message-----
> From: Vaclav Barta [mailto:vbar at comp.cz]
> > function properly because it detects that error state. You don't
need
> to
> > do anything but decide what to do when you are asked to print an
> error.
> Well, but because the runtime is C, I couldn't decide to throw an
> exception there - right?
>
> Bye
> Vasek
> --
> http://www.mangrove.cz/
>
More information about the antlr-interest
mailing list