summaryrefslogtreecommitdiff
path: root/src/pkg/encoding/binary/binary.go
diff options
context:
space:
mode:
authorArvindh Rajesh Tamilmani <art@a-30.net>2009-12-14 19:28:36 -0800
committerArvindh Rajesh Tamilmani <art@a-30.net>2009-12-14 19:28:36 -0800
commit16d1981a3e7ca222fb337092cc7d1cb54675268d (patch)
treef63c75cc8e6f9ded0bd5c435fcabaa06666a1459 /src/pkg/encoding/binary/binary.go
parent6c21be09e3da01a7bf778c7a308cf59c5fa36068 (diff)
downloadgolang-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