From: Reinhold Kainhofer Date: Tue, 11 Nov 2008 22:09:08 +0000 (+0100) Subject: MusicXML: Print the position where an unexpected tag appeared X-Git-Tag: release/2.11.64-1~46 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8494af41a2241c4bf60c3f2e92776ad079db21bf;p=lilypond.git MusicXML: Print the position where an unexpected tag appeared --- diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index ec21882214..83bcfa553a 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -1822,7 +1822,7 @@ def musicxml_voice_to_lily_voice (voice): continue if not n.__class__.__name__ == 'Note': - error_message (_ ('unexpected %s; expected %s or %s or %s') % (n, 'Note', 'Attributes', 'Barline')) + n.message (_ ('unexpected %s; expected %s or %s or %s') % (n, 'Note', 'Attributes', 'Barline')) continue rest = n.get_maybe_exist_typed_child (musicxml.Rest)