Thread: plpgsql grammar fix not so easy after all

plpgsql grammar fix not so easy after all

From
Tom Lane
Date:
The current CVS version of pl/plpgsql/src/gram.y may work for plain
yacc, but it fails with bison :-(

I think the only real solution will be to stop trying to compile the
yacc and lex output files as one C compilation, and compile them
separately like everyone else does it...

In the meantime I suggest reverting the "fix", since most of the
developers are presumably using bison.
        regards, tom lane


Re: plpgsql grammar fix not so easy after all

From
Bruce Momjian
Date:
> The current CVS version of pl/plpgsql/src/gram.y may work for plain
> yacc, but it fails with bison :-(
> 
> I think the only real solution will be to stop trying to compile the
> yacc and lex output files as one C compilation, and compile them
> separately like everyone else does it...
> 
> In the meantime I suggest reverting the "fix", since most of the
> developers are presumably using bison.

Oh, man.  Ok, moved.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026