]> git.donarmstrong.com Git - lilypond.git/commitdiff
Tiny convertrule fix for occurences of 2468 inside of embedded Scheme with #{ ... #}
authorDavid Kastrup <dak@gnu.org>
Fri, 25 Nov 2011 17:39:58 +0000 (18:39 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 25 Nov 2011 17:46:51 +0000 (18:46 +0100)
python/convertrules.py

index c10a22bb5231596ccbba07f2fa8633d0b9af5da7..ae15f68e8261f71ffde0840718112c0f624f4c05 100644 (file)
@@ -3283,7 +3283,7 @@ def paren_matcher (n):
     return
 
 def undollar_scm (m):
-    return re.sub (r"\$", "", m.group (0))
+    return re.sub (r"\$(.?)", r"\1", m.group (0))
 
 def undollar_embedded (m):
     str = re.sub (r"#\$", "#", m.group (1))