]> git.donarmstrong.com Git - lilypond.git/commitdiff
context-property.cc: remove an obscure special case
authorDavid Kastrup <dak@gnu.org>
Sat, 29 Dec 2012 12:41:49 +0000 (13:41 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 4 Jan 2013 08:09:28 +0000 (09:09 +0100)
The case of inconsistency that this was supposed to deal with should
not get produced by current code.

lily/context-property.cc

index 0c5e1ec55d689850efeeaf7eef209c4d2c4c3f32..c835a2fb93d2b2f6ec240a719f6ff6b3abe181fa 100644 (file)
@@ -91,13 +91,6 @@ execute_override_property (Context *context,
 
   SCM target_alist = scm_car (current_context_val);
 
-  /*
-    If the car is a list, the property path comes from a nested override
-    using list syntax inside a \context block
-  */
-  if (scm_is_pair (scm_car (grob_property_path)))
-    grob_property_path = scm_car (grob_property_path);
-
   SCM symbol = scm_car (grob_property_path);
   if (scm_is_pair (scm_cdr (grob_property_path)))
     {