]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/phrasing-slur-multiple.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / phrasing-slur-multiple.ly
index f9ccca61b257ba55a54807c46ee8bc026b71ad9b..adf8221845b9a8077eca0c446bb161607f51aee3 100644 (file)
@@ -1,8 +1,9 @@
-\version "2.15.4"
+\version "2.19.29"
 
 #(ly:set-option 'warning-as-error #f)
 #(ly:expect-warning (_ "already have phrasing slur"))
 #(ly:expect-warning (_ "cannot end phrasing slur"))
+#(ly:expect-warning (_ "unterminated phrasing slur"))
 
 \header {
   texidoc = "LilyPond does not support multiple concurrent phrasing slurs with the 
@@ -11,13 +12,10 @@ slur will not be generated.  However, one can can create a second slur with
 a different spanner-id."
 }
 
-altPhSlur = #(make-music 'PhrasingSlurEvent 'span-direction START 'spanner-id "alt")
-altPhSlurEnd = #(make-music 'PhrasingSlurEvent 'span-direction STOP 'spanner-id "alt")
-
-\relative c'' { 
+\relative { 
   % This will give warnings ("Already have phrasing slur" and "Cannot end phrasing slur")
-  c4\(\( d4\)\( e4\) f\) |
-  % This will give two overlapping slurs:
-  d\(  d\altPhSlur e\) f\altPhSlurEnd |
+  c''4\(\(\=1\( d4\)\(\=1\( e4\) f\) |
+  % This will give two overlapping slurs and "unterminated phrasing slur" from above
+  d\(  d\=2\( e\) f\=2\) |
   
 }