Fixed a post-fix increment issue, highlighted in the game engine

This commit is contained in:
2023-06-20 13:54:21 +10:00
parent f6ec6a8c73
commit 0e41b00ef4
5 changed files with 32 additions and 5 deletions

View File

@@ -86,5 +86,9 @@ typedef enum Toy_Opcode {
TOY_OP_FN_END, //different from SECTION_END
TOY_OP_SECTION_END = 255,
//TODO: add more
//prefix & postfix signals (used internally)
TOY_OP_PREFIX,
TOY_OP_POSTFIX,
} Toy_Opcode;