diff options
| author | Russ Cox <rsc@golang.org> | 2011-11-01 21:49:33 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2011-11-01 21:49:33 -0400 |
| commit | c93b6a1756be708ba2d6c8c91c4dabdbbd653cbe (patch) | |
| tree | cdd064b31a5f7ce774a76a565d542f231675c36e /src/pkg | |
| parent | c8ad1a4dc4d0384d963df749cfc3c373e27d6a17 (diff) | |
| download | go-c93b6a1756be708ba2d6c8c91c4dabdbbd653cbe.tar.xz | |
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
Diffstat (limited to 'src/pkg')
| -rw-r--r-- | src/pkg/exp/ebnf/parser.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/ebnf/parser.go b/src/pkg/exp/ebnf/parser.go index dac5dd8339..b550c2b64f 100644 --- a/src/pkg/exp/ebnf/parser.go +++ b/src/pkg/exp/ebnf/parser.go @@ -187,5 +187,5 @@ func (p *parser) parse(filename string, src io.Reader) Grammar { func Parse(filename string, src io.Reader) (Grammar, os.Error) { var p parser grammar := p.parse(filename, src) - return grammar, p.errors.Error() + return grammar, p.errors.Err() } |
