Fixed negative variables handled incorrectly

This commit is contained in:
2026-05-26 18:01:49 +10:00
parent 69175e801a
commit 190477add8
6 changed files with 40 additions and 3 deletions
+3 -2
View File
@@ -86,9 +86,10 @@ typedef enum Toy_AstFlag {
TOY_AST_FLAG_PREFIX_DECREMENT = 42,
TOY_AST_FLAG_POSTFIX_INCREMENT = 43,
TOY_AST_FLAG_POSTFIX_DECREMENT = 44,
TOY_AST_FLAG_INVERT = 45,
TOY_AST_FLAG_INVOKATION = 45,
TOY_AST_FLAG_ATTRIBUTE = 46,
TOY_AST_FLAG_INVOKATION = 46,
TOY_AST_FLAG_ATTRIBUTE = 47,
// TOY_AST_FLAG_TERNARY,
} Toy_AstFlag;