- child_iter_->quit();
- child_iter_ = 0;
- }
-}
-
-Moment
-Percent_repeat_iterator::pending_moment ()const
-{
- if (child_iter_->ok ())
- return child_iter_->pending_moment ();
- else
- return finish_mom_ ;
-}
+ Music *percent = make_music_by_name (ly_symbol2scm (event_type.c_str ()));
+ percent->set_spot (*mus->origin ());
+ percent->set_property ("length", length);
+ if (repeats > 1)
+ {
+ percent->set_property ("repeat-count", scm_from_int (i));
+ if (event_type == "RepeatSlashEvent")
+ percent->set_property ("slash-count", slash_count);
+ }