summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-03-27 19:00:49 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-03-27 19:00:49 -0700
commite44f8e16614283698f648186302ea9d8cadd3066 (patch)
tree66dc0797c7c5d84d798bbe9dfea0685e4b1fac43 /parser.y
parentb6133333a04b6d29c4e6aa45f6e8917cf29ddc99 (diff)
downloadtxr-e44f8e16614283698f648186302ea9d8cadd3066.tar.gz
txr-e44f8e16614283698f648186302ea9d8cadd3066.tar.bz2
txr-e44f8e16614283698f648186302ea9d8cadd3066.zip
More generational GC fixes. One GC fix.
* combi.c (perm_init_common, comb_gen_fun_common, rcomb_gen_fun_common): Use set macro instead of plain assignment. * hash.c (hash_grow, copy_hash, hash_update_1): Use set macro instead of plain assignment. * lib.c (nreverse, lazy_appendv_func, lazy_appendv, vec_push, refset): Use set macro instead of plain assignment. (make_package): Assign all fields of the newly created PKG object before calling a function which can trigger GC. * parser.y (rlset): Use set macro.
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.y b/parser.y
index ff3ff944..2909944f 100644
--- a/parser.y
+++ b/parser.y
@@ -1237,7 +1237,7 @@ val rlset(val form, val info)
val cell = gethash_c(form_to_ln_hash, form, 0);
val *place = cdr_l(cell);
if (nilp(*place))
- *place = info;
+ set(*place, info);
return form;
}