mirror of
https://github.com/google/wuffs.git
synced 2026-01-18 17:11:32 +01:00
hello-wuffs-c: update endwhile syntax
Also fix lang/check
This commit is contained in:
@@ -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