Descriptionpkg/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.
Patch Set 1 #Patch Set 2 : code review 174083: pkg/xml: handle unexpected EOF while parsing and fix a ... #
MessagesTotal messages: 3
|