[bugfix] wrong type specified for cxt->syms
This commit is contained in:
parent
7964c4f5bb
commit
914242a531
|
@ -1005,7 +1005,7 @@ push_codegen_context(codegen_state *state, pic_value name, pic_value args, pic_v
|
||||||
cxt->plen = 0;
|
cxt->plen = 0;
|
||||||
cxt->pcapa = PIC_POOL_SIZE;
|
cxt->pcapa = PIC_POOL_SIZE;
|
||||||
|
|
||||||
cxt->syms = pic_calloc(pic, PIC_POOL_SIZE, sizeof(pic_value));
|
cxt->syms = pic_calloc(pic, PIC_POOL_SIZE, sizeof(pic_sym));
|
||||||
cxt->slen = 0;
|
cxt->slen = 0;
|
||||||
cxt->scapa = PIC_POOL_SIZE;
|
cxt->scapa = PIC_POOL_SIZE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue