]> Cypherpunks repositories - gostls13.git/commitdiff
Fix typo in xml comments.
authorNigel Tao <nigeltao@golang.org>
Thu, 3 Jun 2010 07:56:53 +0000 (00:56 -0700)
committerNigel Tao <nigeltao@golang.org>
Thu, 3 Jun 2010 07:56:53 +0000 (00:56 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/1503041

src/pkg/xml/xml.go

index 44c42c035959cbe7b528d3544f01bd85b1c8f0b9..cd67f6e2657fc9faf5c2960c12f91e0bcded5b10 100644 (file)
@@ -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