]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-unfold.ly
Doc-es: various updates.
[lilypond.git] / input / regression / repeat-unfold.ly
index 2ff7e2304add80949f714758ea831428af1c80ff..621608a0b4f5fe002cb22a629f900bc63ac3214c 100644 (file)
@@ -1,4 +1,7 @@
-\version "2.11.27"
+\version "2.19.21"
+
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "More alternatives than repeats.  Junking excess alternatives"))
 
 \header{
   texidoc="LilyPond has two modes for repeats: unfolded and semi-unfolded. 
@@ -11,8 +14,8 @@ get to the number of repeats.
 Unfolded behavior:"
 }
 
-\context Voice \relative c'' {
-  \repeat unfold 3 { c^"3x 0a" d }
+\context Voice \relative {
+  \repeat unfold 3 { c''^"3x 0a" d }
   %% less alts than body
   \repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
   %% more alts than body