X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fcontext-def.cc;h=f4023a09a110833cb56ad13f83d8c2dbf75a4059;hb=b6b0738a3323e7648f19ab2b0bcfc106fc5a87d5;hp=c3a2a6c293b88594989b633393bb7f340103f629;hpb=7785ac382ed511ed535adf77adc3c07649fbc9b5;p=lilypond.git diff --git a/lily/context-def.cc b/lily/context-def.cc index c3a2a6c293..f4023a09a1 100644 --- a/lily/context-def.cc +++ b/lily/context-def.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2000--2006 Han-Wen Nienhuys + (c) 2000--2007 Han-Wen Nienhuys */ /* TODO: should junk this class an replace by @@ -87,7 +87,7 @@ Context_def::print_smob (SCM smob, SCM port, scm_print_state*) SCM Context_def::mark_smob (SCM smob) { - ASSERT_LIVE_IS_ALLOWED(); + ASSERT_LIVE_IS_ALLOWED (); Context_def *me = (Context_def *) SCM_CELL_WORD_1 (smob); @@ -261,9 +261,9 @@ Context_def::get_translator_names (SCM user_mod) const } Context * -Context_def::instantiate (SCM ops, Object_key const *key) +Context_def::instantiate (SCM ops) { - Context *context = new Context (key); + Context *context = new Context (); context->definition_ = self_scm (); context->definition_mods_ = ops;