On Wed, 23 May 2007, Hans Aberg wrote: > The Bison from CVS (Mac OS X, version 10.4.9) produces the script / > usr/local/bin/yacc: > #! /bin/sh > exec '/usr/local/bin/bison' -y ""
Thanks. I committed the following to fix that. Index: ChangeLog =================================================================== RCS file: /sources/bison/bison/ChangeLog,v retrieving revision 1.1699 diff -p -u -r1.1699 ChangeLog --- ChangeLog 20 May 2007 05:01:53 -0000 1.1699 +++ ChangeLog 26 May 2007 18:11:54 -0000 @@ -1,3 +1,9 @@ +2007-05-26 Joel E. Denny <[EMAIL PROTECTED]> + + * src/Makefile.am (yacc): Quote target action commands properly so + that the yacc script isn't corrupt. Reported by Hans Aberg at + <http://lists.gnu.org/archive/html/bug-bison/2007-05/msg00003.html>. + 2007-05-20 Joel E. Denny <[EMAIL PROTECTED]> Extend the front-end API for %define variables to more completely Index: src/Makefile.am =================================================================== RCS file: /sources/bison/bison/src/Makefile.am,v retrieving revision 1.73 diff -p -u -r1.73 Makefile.am --- src/Makefile.am 10 Nov 2006 06:11:20 -0000 1.73 +++ src/Makefile.am 26 May 2007 18:11:54 -0000 @@ -80,7 +80,7 @@ MOSTLYCLEANFILES = yacc yacc: echo '#! /bin/sh' >$@ - echo "exec '$(bindir)/bison' -y \"[EMAIL PROTECTED]"" >>$@ + echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@ chmod a+x $@ echo:
