Commit 23d09bcd authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d9092f16
...@@ -529,12 +529,6 @@ func (d *decoder) genStrBytes(assignto string) { ...@@ -529,12 +529,6 @@ func (d *decoder) genStrBytes(assignto string) {
d.emit("{") d.emit("{")
d.genBasic("l:", types.Typ[types.Uint32], nil) d.genBasic("l:", types.Typ[types.Uint32], nil)
/*
d.emit("data = data[%v:]", d.pos.num)
d.emit("%v += %v + l", d.var_("nread"), d.pos.num)
*/
//d.resetPos()
d.emit("data = data[%v:]", d.n) d.emit("data = data[%v:]", d.n)
d.emit("%v += %v + l", d.var_("nread"), d.n) d.emit("%v += %v + l", d.var_("nread"), d.n)
d.n = 0 d.n = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment