mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
hello-wuffs-c: update endwhile syntax
Also fix lang/check
This commit is contained in:
1 parent
495f0280a8
commit
3be81643cc
2 files changed
+2
-2
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -86,7 +86,7 @@ func TestCheck(tt *testing.T) {
|
||||
{
|
||||
// Redundant, but shows the labeled jump syntax.
|
||||
continue.label
|
||||
} endwhile.label
|
||||
}.label
|
||||
}
|
||||
`) + "\n"
|
||||
|
||||
|
||||
Reference in new issue
Block a user