Tom Lane wrote:
> AFAICT, bison 1.28 (what I have here) cannot emit any message mentioning
> "unexpected"; the word just plain does not appear in bison.simple.
> "unexpected $undefined." does not exactly seem like a major advance in
> error-message technology anyway :-(.
> I suggest we sit tight and hope that the bison guys get their act
> together, soon.
I figured as much. Thanks for looking at it.
FWIW, both seg and cube have "#define YYERROR_VERBOSE", which seems to add the
expected/unexpected text. It might solve the issue to remove the define and
accept slightly less verbose output.
As a side note, while researching this I looked at bison's cvs HEAD. It
appears bison is undergoing some fairly substantial rewriting -- bison.simple
is now in the attic.
In response to
pgsql-patches by date
|Next:||From: Tom Lane||Date: 2002-09-15 14:28:39|
|Subject: Re: contrib/cube & contrib/seg regression fixes |
|Previous:||From: Tom Lane||Date: 2002-09-15 04:09:04|
|Subject: Re: Patch to return last tid |