Context_def *globaldef = unsmob_context_def (definition_);
if (!globaldef)
{
- programming_error ("No `Global' context found.");
+ programming_error ("no `Global' context found");
}
else
globaldef->apply_default_property_operations (this);
return;
if (m < now_mom_)
- programming_error ("Trying to freeze in time.");
+ programming_error ("trying to freeze in time");
for (int i = 0; i < extra_mom_pq_.size (); i++)
if (extra_mom_pq_[i] == m)
: 0;
}
-Music_output *
+SCM
Global_context::get_output ()
{
return get_score_context ()->get_output ();
if (!get_score_context ())
{
SCM sym = ly_symbol2scm ("Score");
- Context_def *t = unsmob_context_def (find_context_def (get_output_def (), sym));
+ Context_def *t = unsmob_context_def (find_context_def (get_output_def (),
+ sym));
if (!t)
error (_f ("can't find `%s' context", "Score"));
SCM lst = get_property ("finalizations");
set_property ("finalizations", SCM_EOL);
for (SCM s = lst; scm_is_pair (s); s = scm_cdr (s))
+
/* TODO: make safe. */
scm_primitive_eval (scm_car (s));
}