Skip to content

Commit c3602e1

Browse files
committed
py: Fix emitcpy, to work with latest changes to PASS variables.
1 parent 9102af6 commit c3602e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/emitcpy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static void emit_pre(emit_t *emit, int stack_size_delta, int byte_code_size) {
127127
STATIC void emit_cpy_label_assign(emit_t *emit, uint l) {
128128
emit_pre(emit, 0, 0);
129129
assert(l < emit->max_num_labels);
130-
if (emit->pass < PASS_EMIT) {
130+
if (emit->pass < MP_PASS_EMIT) {
131131
// assign label offset
132132
assert(emit->label_offsets[l] == -1);
133133
emit->label_offsets[l] = emit->byte_code_offset;

0 commit comments

Comments
 (0)