aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Tao <nigeltao@golang.org>2010-06-03 00:56:53 -0700
committerNigel Tao <nigeltao@golang.org>2010-06-03 00:56:53 -0700
commit2e632088ce006505d924cfc40950fb4eb616d490 (patch)
treea8c3881a06f97bc68e9c0d8f8f311292ef23c84b
parentaae02a1855b162bdd0a1cce7707f0bc8054834d1 (diff)
downloadgo-2e632088ce006505d924cfc40950fb4eb616d490.tar.gz
go-2e632088ce006505d924cfc40950fb4eb616d490.zip
Fix typo in xml comments.
R=rsc CC=golang-dev https://golang.org/cl/1503041
-rw-r--r--src/pkg/xml/xml.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/xml/xml.go b/src/pkg/xml/xml.go
index 44c42c0359..cd67f6e265 100644
--- a/src/pkg/xml/xml.go
+++ b/src/pkg/xml/xml.go
@@ -158,9 +158,8 @@ type Parser struct {
// "lt": "<",
// "gt": ">",
// "amp": "&",
- // "pos": "'",
+ // "apos": "'",
// "quot": `"`,
- //
Entity map[string]string
r io.ReadByter
@@ -222,7 +221,6 @@ func NewParser(r io.Reader) *Parser {
// set to the URL identifying its name space when known.
// If Token encounters an unrecognized name space prefix,
// it uses the prefix as the Space rather than report an error.
-//
func (p *Parser) Token() (t Token, err os.Error) {
if p.nextToken != nil {
t = p.nextToken