bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bison-3.0 fix lilypond


From: Thomas Klausner
Subject: bison-3.0 fix lilypond
Date: Mon, 5 Aug 2013 11:40:05 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi!

The latest stable and development branches of lilypond do not compile with
the recently released bison-3.0.

The following patch fixes this (sorry, whitespace may be off):

--- lily/parser.yy.orig 2013-01-04 13:41:57.000000000 +0000
+++ lily/parser.yy
@@ -100,7 +100,7 @@ or
 
 
 
-%pure_parser
+%pure-parser
 %locations
 
 

While I'm here, I'll just report a minor issue too:
scripts/auxiliar/cg-section.sh uses the unportable "==" operator for
test(1), only supported by bash, not even by GNU coreutils. Please use the
portable "=" instead.

--- scripts/auxiliar/cg-section.sh.orig 2013-01-04 13:41:56.000000000 +0000
+++ scripts/auxiliar/cg-section.sh
@@ -31,7 +31,7 @@ EOF
     exit "$1"
 }
 
-if [ "$1" == '-h' ] || [ "$1" == '--help' ]; then
+if [ "$1" = '-h' ] || [ "$1" = '--help' ]; then
     usage 0
 fi
 

Thanks,
 Thomas
(please cc me, not subscribed)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]