-\version "2.19.21"
+\version "2.19.29"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "already have phrasing slur"))
a different spanner-id."
}
-sp=#(define-event-function (parser location n e) (index? ly:event?)
- (set! (ly:music-property e 'spanner-id) (format "sp~a" n))
- e)
-
\relative {
% This will give warnings ("Already have phrasing slur" and "Cannot end phrasing slur")
- c''4\(\(\sp1\( d4\)\(\sp1\( e4\) f\) |
+ c''4\(\(\=1\( d4\)\(\=1\( e4\) f\) |
% This will give two overlapping slurs and "unterminated phrasing slur" from above
- d\( d\sp2\( e\) f\sp2\) |
+ d\( d\=2\( e\) f\=2\) |
}