klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

commit 5a6e324e43856e83bc566fe3fa24b0e8abb87581
parent 11e3f8c3f603dd81b67d973884b2d99a49c8d9eb
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Sat, 16 Apr 2011 16:24:41 -0300

Bugfix: in kgpair_mut, changed copy to &copy.

Diffstat:
Msrc/kgpair_mut.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kgpair_mut.c b/src/kgpair_mut.c @@ -90,7 +90,7 @@ TValue copy_es_immutable_h(klisp_State *K, char *name, TValue obj, bool mut_flag) { TValue copy = obj; - krooted_vars_push(K, copy); + krooted_vars_push(K, &copy); assert(ks_sisempty(K)); assert(ks_tbisempty(K));