aboutsummaryrefslogtreecommitdiff
path: root/src/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg')
-rw-r--r--src/pkg/exp/ebnf/parser.go2
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()
}