Re: Problems with linking multiple lex/yacc parsers into one executable

2009-05-17 Thread Hans Nieser
On Sun, 2009-05-17 at 13:46 +0200, Ralf Wildenhues wrote: > Hello, > > * Philip Herron wrote on Sun, May 17, 2009 at 12:49:32PM CEST: > > > > I solved this problem a while back! > > > > http://lists.gnu.org/archive/html/automake/2009-04/msg00095.html > > > > The trick is in each of your lexers(

Re: Problems with linking multiple lex/yacc parsers into one executable

2009-05-17 Thread Hans Nieser
On Sun, 2009-05-17 at 11:49 +0100, Philip Herron wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey > > I solved this problem a while back! > > http://lists.gnu.org/archive/html/automake/2009-04/msg00095.html > > The trick is in each of your lexers(flex .l) add this: > %option pre

Re: Problems with linking multiple lex/yacc parsers into one executable

2009-05-16 Thread Hans Nieser
On Sat, 2009-05-16 at 23:06 +0200, Hans Nieser wrote: > Hi list, > > I recently started using lex/yacc and I'm having some trouble figuring > out how to make it possible to link two parsers into the same executable > using automake. > <...> I did some more g

Problems with linking multiple lex/yacc parsers into one executable

2009-05-16 Thread Hans Nieser
Hi list, I recently started using lex/yacc and I'm having some trouble figuring out how to make it possible to link two parsers into the same executable using automake. For this to work without depending on a non-portable command-line flag of flex (for specifying a symbol prefix for the generated