#include "engraver.hh"
#include "spanner.hh"
#include "tie.hh"
-
+#include "input.hh"
/*
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
{
if (events_[STOP])
{
+ if (slurs_.size() == 0)
+ {
+ events_[STOP]->origin()->warning (_ ("No slur to end"));
+ }
+
end_slurs_ = slurs_;
slurs_.clear ();
}
/* descr */ "Build slurs grobs from slur events",
/* creats*/ "Slur",
/* accepts */ "slur-event",
- /* acks */ "note-column-interface accidental-interface fingering-interface script-interface tie-interface",
+ /* acks */ "note-column-interface accidental-interface fingering-interface script-interface tie-interface text-script-interface",
/* reads */ "slurMelismaBusy doubleSlurs",
/* write */ "");