]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
Misc cleanups.
[lilypond.git] / python / convertrules.py
index 852bf15ba5d2b46025befb29c5b870875bb2844c..12a3b6c5b64655ea8d76e9d08fd534f96e512aa2 100644 (file)
@@ -2785,6 +2785,12 @@ def conv (str):
     str = str.replace ("setHairpinDim", "dimHairpin")
     return str
 
+@rule ((2, 11, 53), "infinite-spacing-height -> extra-spacing-height")
+def conv (str):
+    str = re.sub (r"infinite-spacing-height\s+=\s+##t", r"extra-spacing-height = #'(-inf.0 . +inf.0)", str)
+    str = re.sub (r"infinite-spacing-height\s+=\s+##f", r"extra-spacing-height = #'(0 . 0)", str)
+    return str
+
 # Guidelines to write rules (please keep this at the end of this file)
 #
 # - keep at most one rule per version; if several conversions should be done,