hello-wuffs-c: update endwhile syntax

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

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 {

View File

@@ -86,7 +86,7 @@ func TestCheck(tt *testing.T) {
{
// Redundant, but shows the labeled jump syntax.
continue.label
} endwhile.label
}.label
}
`) + "\n"