On 2008/10/17 10:41 -0400, Laura Conrad wrote:
> The attached abc file crashes abc2ly in 2.11.62. This is a regression
> from 2.10.33.
Thanks for the report, this shold be fixed in the
The patch for the fix is below. I have updated abc2ly to follow PEP and
to ensure compatibility with future Python versions, but I did it in a
little too blind way, and we have no regression tests for abc2ly. One
other reason is, abc2ly.py is not written in good Python style :-/
Best,
John
diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py
index be84071..749baed 100644
--- a/scripts/abc2ly.py
+++ b/scripts/abc2ly.py
@@ -928,8 +928,7 @@ def get_bar_acc(note, octave, state):
return(UNDEF)
def clear_bar_acc(state):
- for k in state.in_acc:
- del state.in_acc[k]
+ state.in_acc = {}
# if we are parsing a beam, close it off
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond