aboutsummaryrefslogtreecommitdiff
path: root/tests/i/loops/program.cps
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-16 13:21:05 +0000
committer_ov4 <ov4@ov4.org>2026-10-16 13:21:05 +0000
commite44bdc6a2a0cf624b08046ecc7e5c5d5d9d2d66c (patch)
treef5276cc0dd2f34e4d30a58f80223912265a1c5a0 /tests/i/loops/program.cps
parente1e789ac0249149a4aa1671f5f9260d488cb617a (diff)
fix(compiler): correct CIE semantics and diagnostic locations
Use standard WHILE headers and default-public class fields, resolve pseudocode identifiers without case sensitivity, and check signed i64 literal boundaries before conversion. Preserve source locations across recursive emission and function diagnostics. Add 22 regression cases and update compiler examples and documentation. Validated all 69 CTest entries with the original Linux Actions seed and verified the release package's embedded, native and IR output paths.
Diffstat (limited to 'tests/i/loops/program.cps')
-rw-r--r--tests/i/loops/program.cps4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i/loops/program.cps b/tests/i/loops/program.cps
index a858e6c..d30b463 100644
--- a/tests/i/loops/program.cps
+++ b/tests/i/loops/program.cps
@@ -10,11 +10,11 @@ NEXT I
FOR I <- 3 TO -1 STEP -2
Total <- Total + I
NEXT I
-WHILE FALSE DO
+WHILE FALSE
Total <- Total + 1000
ENDWHILE
I <- 0
-WHILE I < 3 DO
+WHILE I < 3
Total <- Total + I
I <- I + 1
ENDWHILE