Re: bison and C++ exceptions

2011-05-26 Thread Hans Aberg
[Please keep the cc to the help-bison list, so others know.] On 26 May 2011, at 13:03, John P. Hartmann wrote: > Well, I did forget, but in this case maybe we do not confuse the children. > > At one point bison picked up a bug in one of the M4 macros. It was > not easy to spot, and it took a wh

Re: bison and C++ exceptions

2011-05-26 Thread Hans Aberg
[Please keep the cc to the help-bison list, so others know.] On 26 May 2011, at 11:16, John P. Hartmann wrote: > The M4 manual by itself is of little use, as all macros are redefined. It says how to redefine them, so advanced users that need to know how it work, should consult it. It is otherw

Re: bison and C++ exceptions

2011-05-26 Thread Hans Aberg
On 26 May 2011, at 07:35, Sergey Klimkin wrote: > I guess it might be helpful, I can not claim yet : ) > there is %initial-action declaration and the %final-action may help, > but rhs symbols will not be discarded. > > %initial-action > { > try { > } > > %final-action > { >} >catch (std: