#include "translator.icc"
-
-/*
- NOTE NOTE NOTE
-
- This is largely similar to Phrasing_slur_engraver. Check if fixes
- apply there too.
-
- (on principle, engravers don't use inheritance for code sharing)
-
- */
-
/*
It is possible that a slur starts and ends on the same note. At
least, it is for phrasing slurs: a note can be both beginning and
DECLARE_ACKNOWLEDGER (text_script);
DECLARE_ACKNOWLEDGER (tie);
DECLARE_ACKNOWLEDGER (tuplet_number);
-
void acknowledge_extra_object (Grob_info);
void stop_translation_timestep ();
- void process_music ();
-
virtual void finalize ();
-
+ void process_music ();
public:
TRANSLATOR_DECLARATIONS (Slur_engraver);
{
Direction d = to_dir (ev->get_property ("span-direction"));
if (d == START)
- ASSIGN_EVENT_ONCE (events_[START], ev);
+ events_[START] = ev;
else if (d == STOP)
- ASSIGN_EVENT_ONCE (events_[STOP], ev);
- else ev->origin ()->warning (_ ("Invalid direction of slur-event"));
+ events_[STOP] = ev;
}
void