Commit c93b6a17 authored by Russ Cox's avatar Russ Cox

exp/ebnf: manual fixup for error

(The definition of ErrorList is in another file, so gofix
has no hope of getting this right.)

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/5330043
parent c8ad1a4d
...@@ -187,5 +187,5 @@ func (p *parser) parse(filename string, src io.Reader) Grammar { ...@@ -187,5 +187,5 @@ func (p *parser) parse(filename string, src io.Reader) Grammar {
func Parse(filename string, src io.Reader) (Grammar, os.Error) { func Parse(filename string, src io.Reader) (Grammar, os.Error) {
var p parser var p parser
grammar := p.parse(filename, src) grammar := p.parse(filename, src)
return grammar, p.errors.Error() return grammar, p.errors.Err()
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment