]> 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)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 26 Nov 2010 15:02:20 +0000 (16:02 +0100)
commit1a795132908c1a1d3717da023c2853c551ea4b6f
tree01e274a55fd72bfae96ebc64ee4b02e5179b1119
parent05acc0d1a25051a35083aeb2acf0955678e882cf
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