feat: 支持复合运算符

This commit is contained in:
2026-06-06 20:20:05 +08:00
parent 87a7224c2d
commit 8c3f4aabe6
8 changed files with 177 additions and 8 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ impl Compiler {
} else {
self.count_expression(&assign.right, ctx);
ctx.alloc_reg();
ctx.projected_pc += 1; // STORE_VAR
ctx.projected_pc += 1;
}
}
Expression::ConditionalExpression(cond) => {