Aria

A low-level systems programming language
git clone git://git.m21c.me/Aria.git
Log | Files | Refs | README | LICENSE

commit 6e914e3fed3d94b2bd16a577850d8d56126b489e
parent d0a3d17bcf962bb2a1b52ce293954718c105885c
Author: m21c <ho*******@gmail.com>
Date:   Tue, 23 Jun 2026 00:43:18 +0200

codegen: fix do-clause

Diffstat:
Mcompiler.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler.c b/compiler.c @@ -6686,6 +6686,8 @@ codegen(CodeGen *cg, Node *expr) case ACONV: codegen(cg, expr->lhs); break; + case KDO: + /* @todo implement c version correctly */ case ASCOPE: do { Node *curr = expr->lhs; @@ -6955,7 +6957,6 @@ codegen(CodeGen *cg, Node *expr) break; case KCASE: case KOF: - case KDO: case KUNTIL: /* @todo implement c version correctly */ break;