Re: inserting into tab.h, after %union

2006-12-02 Thread Joel E. Denny
On Sat, 2 Dec 2006, Joel E. Denny wrote: > On Fri, 1 Dec 2006, Jeff Inman wrote: > > > It seems wrong to me that the second set of "%{ ... %}", after a "%union{ > > ...}", should insert > > into the tab.cpp file, instead of into the tab.hpp file. I want to make > > more > > declarations > > th

Re: inserting into tab.h, after %union

2006-12-02 Thread Joel E. Denny
On Fri, 1 Dec 2006, Jeff Inman wrote: > It seems wrong to me that the second set of "%{ ... %}", after a "%union{ > ...}", should insert > into the tab.cpp file, instead of into the tab.hpp file. I want to make more > declarations > that depend on the type produced by the union. I definitely ag

inserting into tab.h, after %union

2006-12-02 Thread Jeff Inman
Hi folks, I'm running bison 2.3 on OSX 10.4.8 It seems wrong to me that the second set of "%{ ... %}", after a "% union{ ...}", should insert into the tab.cpp file, instead of into the tab.hpp file. I want to make more declarations that depend on the type produced by the union. It seems to

Undefined Ids

2006-12-02 Thread Paulo J. Matos
[I'm sorry for cross-posting but I think this might concern both lists] Hello, I've generated a C++ Parser and C++ Scanner with bison 2.3 and flex 2.5.33 respectively. They are both prefixed with smt in my case. I've been also having a hard time to use both together without trouble and unfortuna