mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 08:10:17 +02:00
* srcprop.c (scm_set_source_property_x): If SRCPROPS obj already
exists when adding a source property other than those that are handled explicitly, add the new property to the SRCPROPS obj's plist.
This commit is contained in:
parent
020c890ccc
commit
58d233cca9
2 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
2002-03-08 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* srcprop.c (scm_set_source_property_x): If SRCPROPS obj already
|
||||
exists when adding a source property other than those that are
|
||||
handled explicitly, add the new property to the SRCPROPS obj's
|
||||
plist.
|
||||
|
||||
* debug.h (SCM_MAX_FRAME_SIZE): Remove incorrect comment about use
|
||||
of SCM_MAX_FRAME_SIZE as a bit mask; it isn't used like this.
|
||||
|
||||
|
|
|
@ -316,8 +316,13 @@ SCM_DEFINE (scm_set_source_property_x, "set-source-property!", 3, 0, 0,
|
|||
else
|
||||
SCM_WHASHSET (scm_source_whash, h, scm_make_srcprops (0, 0, SCM_UNDEFINED, datum, p));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (SRCPROPSP (p))
|
||||
SRCPROPPLIST (p) = scm_acons (key, datum, SRCPROPPLIST (p));
|
||||
else
|
||||
SCM_WHASHSET (scm_source_whash, h, scm_acons (key, datum, p));
|
||||
}
|
||||
return SCM_UNSPECIFIED;
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue