- Slur_req* slur_req_l = new_slur_req_l_arr_[i];
- // end slur: move the slur to other array
- if (slur_req_l->spantype == Span_req::STOP)
- {
- if (slur_l_stack_.empty())
-
- slur_req_l->warning (_f ("can't find both ends of %s", _("slur")));
- else
- {
- end_slur_l_arr_.push (slur_l_stack_.pop());
- requests_arr_.pop();
- }
- }
- else if (slur_req_l->spantype == Span_req::START)
- {
- // push a new slur onto stack.
- //(use temp. array to wait for all slur STOPs)
- Slur * s_p =new Slur;
- Scalar prop = get_property ("slurdash");
- if (prop.isnum_b ())
- s_p->dash_i_ = prop;
- requests_arr_.push (slur_req_l);
- start_slur_l_arr_.push (s_p);
- announce_element (Score_element_info (s_p, slur_req_l));
- }