]> git.donarmstrong.com Git - lilypond.git/commit
Ties: Print out a warning for unterminated ties
authorReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 25 Nov 2010 16:33:14 +0000 (17:33 +0100)
committerValentin Villenave <valentin@villenave.net>
Fri, 26 Nov 2010 23:08:51 +0000 (00:08 +0100)
commit9f4fbf7379baa8c96b9d7029338f19bfc2286038
tree5762b750246a0a4e8b8c2bbb9c3ea1245428f75f
parent736a3513783c7411eb9feeab2d98363da9dc7ec5
Ties: Print out a warning for unterminated ties

Do not silently clear a tie attempt, but notify the user that a tie
could not be created (typically either due to a typo or due to a missing
tieWaitForNote)

In a chord, a tie is only unterminated if none of the notes of the
chord create a tie. All other notes of that chord are possible
candidates for a tie start, but not neccesary. For this, I simply
suppress the warning if a note from the same moment already caused
a tie.
E.g. in <c e g>~ g, the g will create a tie, but the c and e should
not trigger a warning!
input/regression/tie-unterminated.ly [new file with mode: 0644]
lily/tie-engraver.cc