rest_req_p->set_spot( here_input());
velt_p->add(rest_req_p);
+
+ Stem_req * stem_p = new Stem_req;
+ stem_p->duration_ = *duration_p;
+ stem_p->set_spot ( here_input ());
+ velt_p->add(stem_p);
delete duration_p;
return velt_p;
}
{
Voice_element*v = new Voice_element;
v->set_spot( here_input());
+
+ v->add(rq);
if (duration_p->type_i_ >= 2) {
Stem_req * stem_req_p = new Stem_req();
rq->set_duration(*duration_p);
rq->set_spot( here_input());
-
-
- v->add(rq);
delete duration_p ;
return v;
}
steno_note_req notemode_duration {
if (!THIS->lexer_p_->note_state_b())
THIS->parser_error("have to be in Note mode for notes");
+ $1->set_duration (*$2);
$$ = THIS->get_note_element($1, $2);
}
| RESTNAME notemode_duration {