+
+ SCM type_p = scm_object_property (sym, ly_symbol2scm ("translation-type?"));
+ bool ok = type_p == list_p;
+
+ if (!ok)
+ {
+ mus->origin()->warning (_f("Not a grob name, `%s'." , ly_symbol2string (sym)));
+ }
+ return ok;
+}
+
+void
+Push_property_iterator::process (Moment m)
+{
+ SCM sym = music_l ()->get_mus_property ("symbol");
+ if (check_grob (music_l (), sym))
+ {
+ SCM eprop = music_l ()->get_mus_property ("grob-property");
+ SCM val = music_l ()->get_mus_property ("grob-value");
+
+ if (to_boolean (music_l ()->get_mus_property ("pop-first")))
+ Translator_def::apply_pushpop_property (report_to_l (),
+ sym, eprop, SCM_UNDEFINED);
+
+ Translator_def::apply_pushpop_property (report_to_l (), sym, eprop, val);
+ }