- Hyphen_spanner (hyphen_p_).set_textitem (LEFT, last_lyric_l_);
- announce_grob (hyphen_p_, req_l_);
+ typeset_grob (hyphen_);
+ hyphen_ = 0;
+ }
+
+ if (finished_hyphen_)
+ {
+ completize_hyphen (finished_hyphen_);
+
+ if (!finished_hyphen_->get_bound (RIGHT))
+ {
+ finished_hyphen_->warning (_("unterminated hyphen; removing"));
+ finished_hyphen_->suicide ();
+ }
+ typeset_grob (finished_hyphen_);
+ finished_hyphen_ =0;
+ }
+}
+
+void
+Hyphen_engraver::process_music ()
+{
+ if (ev_)
+ {
+ hyphen_ = make_spanner ("LyricHyphen");
+ announce_grob (hyphen_, ev_->self_scm ());