]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: For "Negative skip" messages, also print out the position of the problem
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 7 Nov 2008 11:56:53 +0000 (12:56 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 7 Nov 2008 12:12:47 +0000 (13:12 +0100)
scripts/musicxml2ly.py

index 113552939cabb870da23c87dfde21ea652563148..2a48cd12c13f2cc752620ad31da23853e9ca68a9 100644 (file)
@@ -1623,7 +1623,8 @@ class LilyPondVoiceBuilder:
         diff = moment - current_end
         
         if diff < Rational (0):
-            error_message (_ ('Negative skip %s') % diff)
+            error_message (_ ('Negative skip %s (from position %s to %s)') % 
+                             (diff, current_end, moment))
             diff = Rational (0)
 
         if diff > Rational (0) and not (self.ignore_skips and moment == 0):