]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-ly.py
(LY_DEFINE): use Scheme style naming for
[lilypond.git] / scripts / convert-ly.py
index f84f84298c97c570773106e8a249dd9b8d66b0bb..9d93613efb6820bae90694026cdb678fd4082c04 100644 (file)
@@ -1927,6 +1927,17 @@ def conv (str):
 conversions.append (((2,1,25), conv, """Scheme grob function renaming"""))
 
 
+def conv (str):
+       str = re.sub ('ly:set-grob-property!', 'ly:grob-set-property!',str)
+       str = re.sub ('ly:set-mus-property!', 'ly:music-set-property!',str)     
+       str = re.sub ('ly:set-context-property!', 'ly:context-set-property!', str)      
+       str = re.sub ('ly:get-grob-property', 'ly:grob-property',str)
+       str = re.sub ('ly:get-mus-property', 'ly:music-property',str)
+       str = re.sub ('ly:get-context-property', 'ly:context-property',str)
+       
+       return str
+
+conversions.append (((2,1,26), conv, """More Scheme function renaming"""))
 ################################
 #      END OF CONVERSIONS      
 ################################