bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abc2ly


From: Graham Percival
Subject: Re: abc2ly
Date: Sun, 07 Jan 2007 12:02:19 -0800
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

Tomas Sauer wrote:
There is a tiny bug in "abc2ly" (found in 2.11.8, source code version, but
probably it's available in many versions):
In line 1182 it should be only one closing curly bracket.
Then the procedure works quite nicely.
Congratulations for the great job with lilypond in general!

Thanks for the report! Do you have a small example that demonstrates the bug this fixes?


Han-Wen, should I commit this patch? I don't have any abc test files, so I don't know if it's a good one or not.

diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py
index 9c69736..83dc1f7 100644
--- a/scripts/abc2ly.py
+++ b/scripts/abc2ly.py
@@ -1179,7 +1179,7 @@ def try_parse_bar (str,state):
         close_beam_state(state)
         voices_append (bs)
         if do_curly != '':
-            voices_append("} }")
+            voices_append("} ")
             do_curly = ''
     return str




reply via email to

[Prev in Thread] Current Thread [Next in Thread]