]> git.donarmstrong.com Git - lilypond.git/commitdiff
grob-property.cc: outdated comment
authorKeith OHara <k-ohara5a5a@oco.net>
Wed, 29 Aug 2012 19:47:47 +0000 (12:47 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Mon, 3 Sep 2012 05:39:12 +0000 (22:39 -0700)
Callbacks do not, in practice, return SCM_UNSPECIFIED after
setting the property they were called with, and an assert()
added later with commit 635bff94 severely restricts  doing so.

lily/grob-property.cc

index db16f2a54af248e4818f6cb7d9188ed3d28a2972..3afe182c0ef07793ecf1fd0d09a5ea147c9bd4e1 100644 (file)
@@ -241,11 +241,6 @@ Grob::try_callback_on_alist (SCM *alist, SCM sym, SCM proc)
     grob_property_callback_stack = scm_cdr (grob_property_callback_stack);
 #endif
 
-  /*
-    If the function returns SCM_UNSPECIFIED, we assume the
-    property has been set with an explicit set_property ()
-    call.
-  */
   if (value == SCM_UNSPECIFIED)
     {
       value = get_property_data (sym);