Commit 73ce14d0 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

regexp: remove vestigial Error type

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5573069
parent 9acea02d
...@@ -66,13 +66,6 @@ import ( ...@@ -66,13 +66,6 @@ import (
var debug = false var debug = false
// Error is the local type for a parsing error.
type Error string
func (e Error) Error() string {
return string(e)
}
// Regexp is the representation of a compiled regular expression. // Regexp is the representation of a compiled regular expression.
// The public interface is entirely through methods. // The public interface is entirely through methods.
// A Regexp is safe for concurrent use by multiple goroutines. // A Regexp is safe for concurrent use by multiple goroutines.
......
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