Remove some redundant assignments after yields

This commit is contained in:
Nigel Tao committed 2022-01-25 20:37:50 +11:00
1 parent b374b2b34f
commit 656c0bdf92
2 files changed
-6

No files matched your search

-3
View File
@@ -167,7 +167,6 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
return "#bad input"
}
yield? base."$short read"
whitespace_length = 0
continue.outer
}
@@ -255,7 +254,6 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
return "#bad input"
}
yield? base."$short read"
string_length = 0
continue.string_loop_outer
}
@@ -1717,7 +1715,6 @@ pri func decoder.decode_trailer?(dst: base.token_writer, src: base.io_reader) {
return "#bad input"
}
this.decode_comment?(dst: args.dst, src: args.src)
c = 0
if this.comment_type > 0 {
continue.outer
}