feat: 支持复合运算符

This commit is contained in:
爱特每羊队
2026-06-06 20:20:05 +08:00
parent e245ab347a
commit 3c728686fc
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) => {