]> git.donarmstrong.com Git - lilypond.git/commitdiff
Convert: escape a . to avoid false warnings.
authorGraham Percival <gperciva@gperciva-desktop.(none)>
Mon, 4 Oct 2010 17:25:10 +0000 (18:25 +0100)
committerGraham Percival <gperciva@gperciva-desktop.(none)>
Mon, 4 Oct 2010 17:25:10 +0000 (18:25 +0100)
The old convert-ly complains about things like \bar "'" but
judging from the warning message, it's only supposed to match
\bar "."

python/convertrules.py

index df2540967a955107d4540542268dc363b2e553ed..992d371617863f5c1e5fde31ff1c66769e455318 100644 (file)
@@ -2901,7 +2901,7 @@ longer in reversed order.\n"))
 ly:hairpin::after-line-breaking -> ly:spanner::kill-zero-spanned-time\n\
 Dash parameters for slurs and ties are now in dash-definition"))
 def conv(str):
-    if re.search(r'\\bar\s*"."', str):
+    if re.search(r'\\bar\s*"\."', str):
         stderr_write ("\n")
         stderr_write (NOT_SMART % _("\\bar \".\" now produces a thick barline.\n"))
         stderr_write (UPDATE_MANUALLY)