test bison-2.4.1b oke and feature req.

2010-02-23 Thread tys lefering
Hello, Installed and tested Bison-2.4.1b without any problem on a open suse Linux 11.2 64bits machine. A feature request is to have a single line in the graph output to indicate which tool it generated and the parser file name. Now I edit the graphviz.c file with this: void start_graph (FILE *f

Re: test bison-2.4.1b oke and feature req.

2010-02-23 Thread Joel E. Denny
Hi Tys, On Tue, 23 Feb 2010, tys lefering wrote: > Installed and tested Bison-2.4.1b without any problem on a > open suse Linux 11.2 64bits machine. Thanks for your help. > A feature request is to have a single line in the graph output > to indicate which tool it generated and the parser file n

C++ parser and exceptions in semantic actions

2010-02-23 Thread John Horigan
My C++ bison parser has try/catch blocks sprinkled all over the semantic actions, but the catch block always does the same thing: try { ... stuff ... } catch (CfdgError e) { error(e.where, e.what); YYABORT; } I use auto_ptrs to clean-up

Re: C++ parser and exceptions in semantic actions

2010-02-23 Thread John Horigan
Ok, I read the generated parser cpp file and it looks like I must have all the try/catch blocks inside my rule actions. It doesn't look like the parser destructor will clean things up properly. So I would like to turn this thread into a feature request thread. It would be very nice if there wer