hello-wuffs-c: update endwhile syntax

Also fix lang/check
This commit is contained in:
Nigel Tao committed 2024-07-09 10:39:24 +10:00
1 parent 495f0280a8
commit 3be81643cc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ pub func parser.parse?(src: base.io_reader) {
// Uncomment this assertion to see what facts are known here.
// assert false
this.val = (10 * this.val) + (c as base.u32)
} endwhile
}
}
pub func parser.value() base.u32 {
+1 -1
View File
@@ -86,7 +86,7 @@ func TestCheck(tt *testing.T) {
{
// Redundant, but shows the labeled jump syntax.
continue.label
} endwhile.label
}.label
}
`) + "\n"