Re: Includes

2012-01-19 Thread Akim Demaille
Le 15 janv. 2012 à 22:20, Csaba Raduly a écrit : > The thing is, it's a corporate software built on corporate machines > (Ubuntu 10, SLES 11) which have either 2.3 or 2.4 installed. > I'll try to lobby my colleagues to ditch 2.3 :) I don't know your environment, but maybe not everybody needs to

Re: Includes

2012-01-15 Thread Csaba Raduly
the parser implementation file. This has created a problem for me >> because the %union contains pointers to various user-defined types, >> but the #includes containing their definitions are no longer written >> into the bison-generated header file. Manually updating the list

Re: Includes

2012-01-15 Thread Akim Demaille
problem for me > because the %union contains pointers to various user-defined types, > but the #includes containing their definitions are no longer written > into the bison-generated header file. Manually updating the list of > includes in every file that uses the bison-generated header is a

Re: Includes

2012-01-13 Thread Hans Aberg
%union contains pointers to various user-defined types, > but the #includes containing their definitions are no longer written > into the bison-generated header file. Manually updating the list of > includes in every file that uses the bison-generated header is a pain. > > %code

Includes

2012-01-13 Thread Csaba Raduly
#includes containing their definitions are no longer written into the bison-generated header file. Manually updating the list of includes in every file that uses the bison-generated header is a pain. %code appears to provide the needed flexibility, but of course it's not recognized by bison 2.3