[bugfix] missed to mark stx->senv
This commit is contained in:
parent
2a32de55b6
commit
3266ae7d3c
2
src/gc.c
2
src/gc.c
|
@ -268,7 +268,7 @@ gc_mark_object(pic_state *pic, struct pic_object *obj)
|
||||||
gc_mark_object(pic, (struct pic_object *)stx->macro);
|
gc_mark_object(pic, (struct pic_object *)stx->macro);
|
||||||
}
|
}
|
||||||
if (stx->senv) {
|
if (stx->senv) {
|
||||||
gc_mark_object(pic, (struct pic_object *)stx->macro);
|
gc_mark_object(pic, (struct pic_object *)stx->senv);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue