#include "stream-event.hh"
#include "warn.hh"
+/* ASSIGN_EVENT_ONCE */
+#include "translator.icc"
+
/*
* This abstract class is the common superclass for all ligature
* engravers for Gregorian chant notation. It cares for the musical
void
Gregorian_ligature_engraver::listen_pes_or_flexa (Stream_event *ev)
{
- pes_or_flexa_req_ = ev;
+ ASSIGN_EVENT_ONCE (pes_or_flexa_req_, ev);
}
-void fix_prefix (char *name, int mask,
+void fix_prefix (char const *name, int mask,
int *current_set, int min_set, int max_set,
Grob *primitive)
{
if (prefix_set & PES_OR_FLEXA)
if (!i) // ligature may not start with 2nd head of pes or flexa
- primitive->warning (_ ("can't apply `\\~' on first head of ligature"));
+ primitive->warning (_ ("cannot apply `\\~' on first head of ligature"));
else if (pitch > prev_pitch) // pes
{
prev_context_info |= PES_LOWER;
context_info |= FLEXA_RIGHT;
}
else // (pitch == prev_pitch)
- primitive->warning (_ ("can't apply `\\~' on heads with identical pitch"));
+ primitive->warning (_ ("cannot apply `\\~' on heads with identical pitch"));
if (prev_prefix_set & DEMINUTUM)
context_info |= AFTER_DEMINUTUM;