]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
fix convert rule
[lilypond.git] / python / convertrules.py
index 2a70225232b2c5fd9c8e69d74ec3f42e740f37ec..7d97a417da9f38cc3d759f50436594c0b5dac420 100644 (file)
@@ -2900,7 +2900,8 @@ def conv(str):
         stderr_write (NOT_SMART % _("\\bar \".\" now produces a thick barline.\n"))
         stderr_write (UPDATE_MANUALLY)
     str = re.sub (r'ly:hairpin::after-line-breaking', r'ly:spanner::kill-zero-spanned-time', str)
-    if (re.search(r'\'dash-fraction', str) or re.search(r'\'dash-period', str):
+    if re.search("(Slur|Tie)\w+#\'dash-fraction", str) \
+        or re.search("(Slur|Tie)\w+#\'dash-period", str):
         stderr_write ("\n")
         stderr_write (NOT_SMART % _("Dash parameters for slurs and ties are now in \'dash-details.\n"))
         stderr_write (UPDATE_MANUALLY)