Bison 2.1 candidate tarballs available

2005-09-16 Thread Paul Eggert
I made tarballs for Bison 2.1 and have copied them to the following locations. If there are no obvious installation gotchas with these, I plan to install them at the official ftp.gnu.org location Monday. Please let me know if you run into showstopper problems. Thanks. ftp://alpha.gnu.org/gnu/bis

Re: %union and shared pointers to AST nodes

2005-09-16 Thread Evan Lavelle
struct yystype { ... antlr::RefToken tok; antlr::RefASTast; }; #define YYSTYPE yystype Evan ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Re: %union and shared pointers to AST nodes

2005-09-16 Thread Laurence Finston
On Fri, 16 Sep 2005, Frans Englich wrote: > From my actions I call factory functions which returns instances I assign to > the actions($$), in order to build an AST tree. I write in C++, and recently > converted all code to return/take shared pointers to objects, instead of raw > pointers. > > Whe

Re: %union and shared pointers to AST nodes

2005-09-16 Thread Hans Aberg
On 16 Sep 2005, at 19:14, Frans Englich wrote: I have a problem involving bison although a solution may not directly mean modifying the bison grammar. Nevertheless, someone might be able to spot a solution. From my actions I call factory functions which returns instances I assign to the a

%union and shared pointers to AST nodes

2005-09-16 Thread Frans Englich
Hi, I have a problem involving bison although a solution may not directly mean modifying the bison grammar. Nevertheless, someone might be able to spot a solution. From my actions I call factory functions which returns instances I assign to the actions($$), in order to build an AST tree. I wr