mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Remove some redundant assignments after yields
This commit is contained in:
1 parent
b374b2b34f
commit
656c0bdf92
2 files changed
-6
No files matched your search
@@ -32866,7 +32866,6 @@ wuffs_json__decoder__decode_tokens(
|
|||||||
}
|
}
|
||||||
status = wuffs_base__make_status(wuffs_base__suspension__short_read);
|
status = wuffs_base__make_status(wuffs_base__suspension__short_read);
|
||||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(3);
|
WUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(3);
|
||||||
v_whitespace_length = 0;
|
|
||||||
goto label__outer__continue;
|
goto label__outer__continue;
|
||||||
}
|
}
|
||||||
v_c = wuffs_base__peek_u8be__no_bounds_check(iop_a_src);
|
v_c = wuffs_base__peek_u8be__no_bounds_check(iop_a_src);
|
||||||
@@ -32928,7 +32927,6 @@ wuffs_json__decoder__decode_tokens(
|
|||||||
}
|
}
|
||||||
status = wuffs_base__make_status(wuffs_base__suspension__short_read);
|
status = wuffs_base__make_status(wuffs_base__suspension__short_read);
|
||||||
WUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(5);
|
WUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(5);
|
||||||
v_string_length = 0;
|
|
||||||
goto label__string_loop_outer__continue;
|
goto label__string_loop_outer__continue;
|
||||||
}
|
}
|
||||||
while (((uint64_t)(io2_a_src - iop_a_src)) > 4) {
|
while (((uint64_t)(io2_a_src - iop_a_src)) > 4) {
|
||||||
@@ -34468,7 +34466,6 @@ wuffs_json__decoder__decode_trailer(
|
|||||||
if (status.repr) {
|
if (status.repr) {
|
||||||
goto suspend;
|
goto suspend;
|
||||||
}
|
}
|
||||||
v_c = 0;
|
|
||||||
if (self->private_impl.f_comment_type > 0) {
|
if (self->private_impl.f_comment_type > 0) {
|
||||||
goto label__outer__continue;
|
goto label__outer__continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -167,7 +167,6 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
|
|||||||
return "#bad input"
|
return "#bad input"
|
||||||
}
|
}
|
||||||
yield? base."$short read"
|
yield? base."$short read"
|
||||||
whitespace_length = 0
|
|
||||||
continue.outer
|
continue.outer
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -255,7 +254,6 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
|
|||||||
return "#bad input"
|
return "#bad input"
|
||||||
}
|
}
|
||||||
yield? base."$short read"
|
yield? base."$short read"
|
||||||
string_length = 0
|
|
||||||
continue.string_loop_outer
|
continue.string_loop_outer
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1717,7 +1715,6 @@ pri func decoder.decode_trailer?(dst: base.token_writer, src: base.io_reader) {
|
|||||||
return "#bad input"
|
return "#bad input"
|
||||||
}
|
}
|
||||||
this.decode_comment?(dst: args.dst, src: args.src)
|
this.decode_comment?(dst: args.dst, src: args.src)
|
||||||
c = 0
|
|
||||||
if this.comment_type > 0 {
|
if this.comment_type > 0 {
|
||||||
continue.outer
|
continue.outer
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user