Re: Extra code in y.tab.h

2011-06-08 Thread Hans Aberg
On 8 Jun 2011, at 23:38, Panayiotis Karabassis wrote: >> You can put code in various locations; see the %code directive, sec. 3.7.14. >> You might even tweak the skeleton file to define more code places, but then >> you may have to patch when the original is changed with new Bison releases. > >

Re: Extra code in y.tab.h

2011-06-08 Thread Panayiotis Karabassis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/08/2011 11:29 PM, Hans Aberg wrote: > [Please keep the cc to the Bison Help list, so that others can follow the > issue.] Sorry about that, I hit the wrong button. I resent the message to the list. > You can put code in various locations; see

Re: Extra code in y.tab.h

2011-06-08 Thread Panayiotis Karabassis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/26/2011 02:06 AM, Hans Aberg wrote: > > On 23 May 2011, at 09:40, Panayiotis Karabassis wrote: > >> What is the recommended way to get extra declarations in y.tab.h (in my >> case Parser.h) for a C++ parser? > > Have you checked the Bison manual,

Re: Extra code in y.tab.h

2011-06-08 Thread Hans Aberg
[Please keep the cc to the Bison Help list, so that others can follow the issue.] On 8 Jun 2011, at 21:48, Panayiotis Karabassis wrote: >>> What is the recommended way to get extra declarations in y.tab.h (in my >>> case Parser.h) for a C++ parser? >> >> Have you checked the Bison manual, sec.

Re: What do you use bison for?

2011-06-08 Thread Panayiotis Karabassis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/04/2011 03:00 PM, Adam Smalin wrote: > I was wondering what you guys use bison for? I am writing my own programming > language with it and its insanely complex (hard to do) > I kind of doubt many ppl are writing their own languages and i am prett