]> git.donarmstrong.com Git - lilypond.git/commitdiff
Do \octave -> \octaveCheck.
authorGraham Percival <graham@percival-music.ca>
Sat, 5 Jul 2008 10:35:04 +0000 (03:35 -0700)
committerGraham Percival <graham@percival-music.ca>
Sat, 5 Jul 2008 10:35:04 +0000 (03:35 -0700)
ly/music-functions-init.ly
python/convertrules.py

index f978e36daa358fe295495d17c4a56ad9e6e6ebeb..a9d38dbad13b9508f3bbf44370c4a5b104e7181f 100644 (file)
@@ -446,7 +446,7 @@ markups), or inside a score.")
 %% doing
 %% define-music-function in a .scm causes crash.
 
-octave =
+octaveCheck =
 #(define-music-function (parser location pitch-note) (ly:music?)
    (_i "octave check")
 
index 78d9e84187cc68e4093d466043d338efaa7754a9..fd483a8e2ca41f2f80ebeccdd6f0eca7aa5ff21f 100644 (file)
@@ -2735,8 +2735,7 @@ def conv (str):
                           "\t(format-metronome-markup text dur count context)\n")
     return str
 
-@rule ((2,11,50), "Fret diagram properties moved to
-fret-diagram-details")
+@rule ((2,11,50), "Fret diagram properties moved to fret-diagram-details")
 def conv (str):
     fret_props = ['barre-type', 
                 'dot-color', 
@@ -2758,4 +2757,9 @@ def conv (str):
           stderr_write ('\n')
     return str
 
+@rule ((2, 11, 48), "\\octave -> \\octaveCheck")
+def conv (str):
+    str = re.sub (r"\\octave", r"\\octaveCheck", str)
+    return str
+