Chet Ramey:

> >> I suppose the only real variable is the revision of bison:
> > 
> > 2.4.1 and 2.3 on my FreeBSD and OpenBSD box, respectively.
> 
> Try 1.875 and see if the problems go away.

Red herring.  I found the problem, it is embarrassingly stupid, and
Andreas was right.  The fault lies with the official FreeBSD and
OpenBSD ports.

Since bash 4's $() parsing is broken if you build the parser with
BSD yacc, the ports now specify the use of bison by passing YACC=bison
to the configure script.  Running "bison -d parse.y" creates
parse.tab.c rather than y.tab.c, so y.tab.c is never regenerated,
and the parser fix from patch 001 is effectively not applied.

We just need to use YACC="bison -y".

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de


Reply via email to