[bugfix] lset never be emit

This commit is contained in:
Yuichi Nishiwaki 2014-01-27 22:20:08 +09:00
parent 82ea416c34
commit 8343ccd675
1 changed files with 1 additions and 1 deletions

View File

@ -1096,7 +1096,7 @@ codegen(codegen_state *state, pic_value obj)
return;
}
else if (type == state->sLREF) {
cxt->code[cxt->clen].insn = OP_CSET;
cxt->code[cxt->clen].insn = OP_LSET;
cxt->code[cxt->clen].u.i = pic_int(pic_list_ref(pic, var, 1));
cxt->clen++;
cxt->code[cxt->clen].insn = OP_PUSHNONE;