The old convert-ly complains about things like \bar "'" but
judging from the warning message, it's only supposed to match
\bar "."

Does this patch look ok?

Cheers,
- Graham
From ea112d150717319f2592dc417b73d0ffe9e54a80 Mon Sep 17 00:00:00 2001
From: Graham Percival <gperc...@gperciva-desktop.(none)>
Date: Mon, 4 Oct 2010 18:25:10 +0100
Subject: [PATCH] Convert: escape a . to avoid false warnings.

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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/convertrules.py b/python/convertrules.py
index df25409..992d371 100644
--- a/python/convertrules.py
+++ b/python/convertrules.py
@@ -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)
-- 
1.6.0.4

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to