diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-16 13:21:05 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-16 13:21:05 +0000 |
| commit | e44bdc6a2a0cf624b08046ecc7e5c5d5d9d2d66c (patch) | |
| tree | f5276cc0dd2f34e4d30a58f80223912265a1c5a0 /doc/language/keyword/cpsc-keyword-while.7.md | |
| parent | e1e789ac0249149a4aa1671f5f9260d488cb617a (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 'doc/language/keyword/cpsc-keyword-while.7.md')
| -rw-r--r-- | doc/language/keyword/cpsc-keyword-while.7.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/language/keyword/cpsc-keyword-while.7.md b/doc/language/keyword/cpsc-keyword-while.7.md index 5e6656f..1100b38 100644 --- a/doc/language/keyword/cpsc-keyword-while.7.md +++ b/doc/language/keyword/cpsc-keyword-while.7.md @@ -7,21 +7,21 @@ cpsc-keyword-while - repeat while a condition is true # SYNOPSIS ```text -WHILE condition DO +WHILE condition statements ENDWHILE ``` # DESCRIPTION -Test before each iteration; the body may run zero times. DO and ENDWHILE belong to this syntax. +Test before each iteration; the body may run zero times. ENDWHILE closes the loop. The WHILE header has no DO keyword. # EXAMPLE ```text DECLARE Count : INTEGER Count <- 1 -WHILE Count <= 3 DO +WHILE Count <= 3 OUTPUT Count Count <- Count + 1 ENDWHILE |
