--- /dev/null
+
+\version "1.3.146"
+
+
+\score { \notes {
+% First a normal looking repeat:
+ c2 c
+ \property Score.repeatCommands = #'((volta "1."))
+ c c
+ \property Score.repeatCommands = #'((volta #f) end-repeat (volta "2."))
+ c c
+ \property Score.repeatCommands = #'((volta #f))
+% Then a more strange one:
+ c c
+ \property Score.repeatCommands = #'((volta "93") end-repeat)
+ c c
+ \property Score.repeatCommands = #'((volta #f))
+ c c
+}
+}
{
SCM c = gh_car (cs);
- if (gh_pair_p (c) && gh_car (c) == ly_symbol2scm ("volta"))
+ if (gh_pair_p (c) && gh_car (c) == ly_symbol2scm ("volta")
+ && gh_pair_p (gh_cdr (c)))
{
if (gh_cadr (c) == SCM_BOOL_F)
end = true;