Skip to content

Commit

Permalink
Inconsequential while opcode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Aug 15, 2024
1 parent cf0c081 commit 02a99ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/backends/cstyle.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void cstyle_write_opcode(char *code, size_t *offset, opcode *o, type_string_func
break;
}
case OPCODE_WHILE: {
*offset += sprintf(&code[*offset], "\twhile (_%" PRIu64 ")\n", o->op_if.condition.index);
*offset += sprintf(&code[*offset], "\twhile (_%" PRIu64 ")\n", o->op_while.condition.index);
break;
}
case OPCODE_BLOCK_START: {
Expand Down

0 comments on commit 02a99ee

Please sign in to comment.