]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
Remove last traces of 'no-spacing-rods & add convert rule.
[lilypond.git] / python / convertrules.py
index ad2c0cdd96500bb361b89f155717df6b8d8c468f..737345538670cfb6680f7ef13edebfda5193c715 100644 (file)
@@ -2574,6 +2574,12 @@ def conv (str):
     return re.sub ('ly:clone-parser',
                    'ly:parser-clone', str)
 
+@rule ((2, 11, 3), "no-spacing-rods -> extra-spacing-width")
+def conv (str):
+    str = re.sub (r"no-spacing-rods\s+=\s+##t", r"extra-spacing-width = #'(+inf.0 . -inf.0)", str)
+    str = re.sub (r"no-spacing-rods\s+=\s+##f", r"extra-spacing-width = #'(0 . 0)", str)
+    return str
+
 
 @rule ((2, 11, 5), _ ("deprecate cautionary-style. Use AccidentalCautionary properties"))
 def conv (str):