mirror of
https://github.com/golang/go
synced 2024-11-24 20:30:14 -07:00
Fix typo in xml comments.
R=rsc CC=golang-dev https://golang.org/cl/1503041
This commit is contained in:
parent
aae02a1855
commit
2e632088ce
@ -158,9 +158,8 @@ type Parser struct {
|
|||||||
// "lt": "<",
|
// "lt": "<",
|
||||||
// "gt": ">",
|
// "gt": ">",
|
||||||
// "amp": "&",
|
// "amp": "&",
|
||||||
// "pos": "'",
|
// "apos": "'",
|
||||||
// "quot": `"`,
|
// "quot": `"`,
|
||||||
//
|
|
||||||
Entity map[string]string
|
Entity map[string]string
|
||||||
|
|
||||||
r io.ReadByter
|
r io.ReadByter
|
||||||
@ -222,7 +221,6 @@ func NewParser(r io.Reader) *Parser {
|
|||||||
// set to the URL identifying its name space when known.
|
// set to the URL identifying its name space when known.
|
||||||
// If Token encounters an unrecognized name space prefix,
|
// If Token encounters an unrecognized name space prefix,
|
||||||
// it uses the prefix as the Space rather than report an error.
|
// it uses the prefix as the Space rather than report an error.
|
||||||
//
|
|
||||||
func (p *Parser) Token() (t Token, err os.Error) {
|
func (p *Parser) Token() (t Token, err os.Error) {
|
||||||
if p.nextToken != nil {
|
if p.nextToken != nil {
|
||||||
t = p.nextToken
|
t = p.nextToken
|
||||||
|
Loading…
Reference in New Issue
Block a user