/* Check for illegal head modifier combinations */
for (int i = 0; i < primitives.size (); i++)
{
- Grob *primitive = primitives[i].grob_;
+ Grob *primitive = primitives[i].grob ();
/* compute head prefix set by inspecting primitive grob properties */
int prefix_set
primitive);
}
- /* check: virga, quilisma and oriscus can not be combined with any
+ /* check: virga, quilisma and oriscus cannot be combined with any
other prefix, but may be part of a pes or flexa */
if (prefix_set & VIRGA)
{
int prev_pitch = 0;
for (int i = 0; i < primitives.size (); i++)
{
- Grob *primitive = primitives[i].grob_;
+ Grob *primitive = primitives[i].grob ();
Music *music_cause = primitives[i].music_cause ();
int context_info = 0;
int pitch = unsmob_pitch (music_cause->get_property ("pitch"))->steps ();
if (prefix_set & PES_OR_FLEXA)
if (!i) // ligature may not start with 2nd head of pes or flexa
{
- primitive->warning ("may not apply `\\~' on first head of "
- "ligature; ignoring `\\~'");
+ primitive->warning (_ ( "can't apply `\\~' on first head of ligature"));
}
else if (pitch > prev_pitch) // pes
{
}
else // (pitch == prev_pitch)
{
- primitive->warning ("may not apply `\\~' on heads with "
- "identical pitch; ignoring `\\~'");
+ primitive->warning (_ ("can't apply `\\~' on heads with identical pitch"));
}
if (prev_prefix_set & DEMINUTUM)
{