Prefix '++' working (postfix is next)

This commit is contained in:
2025-01-09 16:45:48 +11:00
parent 3aee2ba664
commit 6f16c31f24
7 changed files with 102 additions and 79 deletions

View File

@@ -72,8 +72,8 @@ typedef enum Toy_AstFlag {
//unary flags
TOY_AST_FLAG_NEGATE = 43,
TOY_AST_FLAG_INCREMENT = 44,
TOY_AST_FLAG_DECREMENT = 45,
TOY_AST_FLAG_PREFIX_INCREMENT = 44,
TOY_AST_FLAG_PREFIX_DECREMENT = 45,
// TOY_AST_FLAG_TERNARY,
} Toy_AstFlag;