From 6b15304d856ab82270493260f49fc5c236624a4e Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Thu, 25 Jun 2015 05:56:47 +0900 Subject: [PATCH] [bugfix] ptable consists of registers --- extlib/benz/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/state.c b/extlib/benz/state.c index 141f76ec..558f4ba6 100644 --- a/extlib/benz/state.c +++ b/extlib/benz/state.c @@ -365,7 +365,7 @@ pic_open(int argc, char *argv[], char **envp, pic_allocf allocf) pic_reader_init(pic); /* parameter table */ - pic->ptable = pic_cons(pic, pic_obj_value(pic_make_dict(pic)), pic->ptable); + pic->ptable = pic_cons(pic, pic_obj_value(pic_make_reg(pic)), pic->ptable); /* standard libraries */ pic->PICRIN_BASE = pic_make_library(pic, pic_read_cstr(pic, "(picrin base)"));