]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
* make/stepmake.make: include toplevel-version.make after config.make.
[lilypond.git] / python / convertrules.py
index 7453a495b39428927cf95d6b78a8e9cf1afde785..bf0e4d1aa8435c2bbfe5f59cd646a348b9803b3c 100644 (file)
@@ -1818,7 +1818,11 @@ conversions.append (((2,1,18), conv, """\\newpartcombine -> \\partcombine,
 
 
 def conv (str):
+       if re.search ('include "drumpitch', str):
+               error_file.write ("Drums found. Enclose drum notes in \\drummode")
+               
        str = re.sub (r'\\include "drumpitch-init.ly"','', str)
+       
        str = re.sub (r'\\pitchnames ','pitchnames = ', str)
        str = re.sub (r'\\chordmodifiers ','chordmodifiers = ', str)
        str = re.sub (r'\bdrums\b\s*=','drumContents = ', str)