diff options
author | Arvindh Rajesh Tamilmani <art@a-30.net> | 2009-12-14 19:28:36 -0800 |
---|---|---|
committer | Arvindh Rajesh Tamilmani <art@a-30.net> | 2009-12-14 19:28:36 -0800 |
commit | 16d1981a3e7ca222fb337092cc7d1cb54675268d (patch) | |
tree | f63c75cc8e6f9ded0bd5c435fcabaa06666a1459 /src/pkg/encoding/binary/binary.go | |
parent | 6c21be09e3da01a7bf778c7a308cf59c5fa36068 (diff) | |
download | golang-16d1981a3e7ca222fb337092cc7d1cb54675268d.tar.gz |
xml: handle unexpected EOF while parsing and fix a bug in name
mustgetc reports unexpected EOF as SyntaxError. using
mustgetc seems to be a better approach than letting the
caller handle unexpected EOF every time.
name: the second if statement should explicitly return
ok==false.
R=rsc
http://codereview.appspot.com/174083
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/encoding/binary/binary.go')
0 files changed, 0 insertions, 0 deletions