diff options
Diffstat (limited to 'py/bc.c')
| -rw-r--r-- | py/bc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -335,7 +335,11 @@ uint mp_opcode_format(const byte *ip, size_t *opcode_size, bool count_var_uint) } } } else if (f == MP_BC_FORMAT_OFFSET) { - ip += 2; + if ((*ip & 0x80) == 0) { + ip += 1; + } else { + ip += 2; + } } ip += extra_byte; } |
