updated hak_open()/hak_openstd()/etc to accept the pointer to hak_errinf_t to convey an error message upon instantiation failure.
added hak_errbint_t and hak_erruinf_t and related functions enhanced the wchar_t detection for wide_char yes:4w
This commit is contained in:
@ -2172,7 +2172,7 @@ static int compile_break_p1 (hak_t* hak)
|
||||
HAK_ASSERT(hak, cf->opcode == COP_COMPILE_BREAK_P1);
|
||||
HAK_ASSERT(hak, cf->operand != HAK_NULL);
|
||||
|
||||
jip = cf->u._break.jump_inst_pos;;
|
||||
jip = cf->u._break.jump_inst_pos;
|
||||
|
||||
/* HAK_CODE_LONG_PARAM_SIZE + 1 => size of the long JUMP_FORWARD instruction */
|
||||
jump_offset = hak->code.bc.len - jip - (HAK_CODE_LONG_PARAM_SIZE + 1);
|
||||
|
Reference in New Issue
Block a user