[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/5] Fix various jumbled parser/location argument pairs
From: |
David Kastrup |
Subject: |
[PATCH 2/5] Fix various jumbled parser/location argument pairs |
Date: |
Wed, 27 May 2015 11:45:15 +0200 |
---
ly/music-functions-init.ly | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly
index 31e7a4d..0feef4a 100644
--- a/ly/music-functions-init.ly
+++ b/ly/music-functions-init.ly
@@ -84,7 +84,7 @@ afterGrace =
%% music identifiers not allowed at top-level,
%% so this is a music-function instead.
allowPageTurn =
-#(define-music-function (location parser) ()
+#(define-music-function (parser location) ()
(_i "Allow a page turn. May be used at toplevel (ie between scores or
markups), or inside a score.")
(make-music 'EventChord
@@ -832,7 +832,7 @@ musicMap =
%% noPageBreak and noPageTurn are music functions (not music indentifiers),
%% because music identifiers are not allowed at top-level.
noPageBreak =
-#(define-music-function (location parser) ()
+#(define-music-function (parser location) ()
(_i "Forbid a page break. May be used at toplevel (i.e., between scores or
markups), or inside a score.")
(make-music 'EventChord
@@ -842,7 +842,7 @@ markups), or inside a score.")
'break-permission '()))))
noPageTurn =
-#(define-music-function (location parser) ()
+#(define-music-function (parser location) ()
(_i "Forbid a page turn. May be used at toplevel (i.e., between scores or
markups), or inside a score.")
(make-music 'EventChord
@@ -984,7 +984,7 @@ with subproperties given as well.")
%% pageBreak and pageTurn are music functions (iso music indentifiers),
%% because music identifiers are not allowed at top-level.
pageBreak =
-#(define-music-function (location parser) ()
+#(define-music-function (parser location) ()
(_i "Force a page break. May be used at toplevel (i.e., between scores or
markups), or inside a score.")
(make-music 'EventChord
@@ -997,7 +997,7 @@ markups), or inside a score.")
'break-permission 'force))))
pageTurn =
-#(define-music-function (location parser) ()
+#(define-music-function (parser location) ()
(_i "Force a page turn between two scores or top-level markups.")
(make-music 'EventChord
'page-marker #t
@@ -1200,7 +1200,7 @@ that they share a staff with stems directed downward.")
#{ \with { \voiceTwo \override DynamicLineSpanner.direction = #DOWN } #} ))
partcombineForce =
-#(define-music-function (location parser type once) (boolean-or-symbol?
boolean?)
+#(define-music-function (parser location type once) (boolean-or-symbol?
boolean?)
(_i "Override the part-combiner.")
(make-music 'EventChord
'elements (list (make-music 'PartCombineForceEvent
--
2.1.4
- [PATCH 1/5] Remove parser/location global variable setup, David Kastrup, 2015/05/27
- [PATCH 2/5] Fix various jumbled parser/location argument pairs,
David Kastrup <=
- [PATCH 3/5] Remove parser/location args from music function calls, David Kastrup, 2015/05/27
- [PATCH 4/5] convert-ly rule for removing parser/location, David Kastrup, 2015/05/27
- [PATCH 5/5] Run scripts/auxiliar/update-with-convert-ly.sh, David Kastrup, 2015/05/27
- Re: [PATCH 1/5] Remove parser/location global variable setup, David Kastrup, 2015/05/27
- Re: [PATCH 1/5] Remove parser/location global variable setup, Dan Eble, 2015/05/27