]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-mudela.py
release: 1.0.8
[lilypond.git] / scripts / convert-mudela.py
index 0ce219103233e2905534b642bbcc2ccff6ffb9f0..f0792639b284ed79f9c58399f15af8155aee79f6 100644 (file)
@@ -168,6 +168,18 @@ if 1:                                      # need new a namespace
                ((1,0,1), conv, '\\accidentals -> \\keysignature, ' +
                 'specialaccidentals -> keyoctaviation\n'))
 
+if 1:
+       def conv(lines):
+               found = 0
+               for x in lines:
+                       if regex.search ('\\\\header', x) <> -1:
+                               found = 1
+                               break
+               if found:
+                       sys.stderr.write ('\nNot smart enough to convert to new \\header format\n')
+               return lines
+       
+       conversions.append ((1,0,2), conv, '\header { key = concat + with + operator }\n')
 
 ############################