]> git.donarmstrong.com Git - lilypond.git/commitdiff
(get_default_child): new function.
authorhanwen <hanwen>
Tue, 3 May 2005 12:26:45 +0000 (12:26 +0000)
committerhanwen <hanwen>
Tue, 3 May 2005 12:26:45 +0000 (12:26 +0000)
(get_accepted): place default child in front of list.

lily/context-def.cc

index cf01d38dcda0900b8b10f7d1b11bc4b26a99fb6f..a17eb49954d38e43a249e0be5d2ad48982627d3c 100644 (file)
@@ -112,7 +112,7 @@ Context_def::add_context_mod (SCM mod)
 
   if (ly_symbol2scm ("default-child") == tag)
     {
-      default_child_ = scm_cadr (mod);
+      default_child_ = sym;
     }
   else if (ly_symbol2scm ("consists") == tag
       || ly_symbol2scm ("consists-end") == tag