]> Cypherpunks repositories - gostls13.git/commit
regexp/syntax: unexport ErrUnexpectedParen
authorRuss Cox <rsc@golang.org>
Fri, 8 Jun 2012 17:05:01 +0000 (13:05 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 8 Jun 2012 17:05:01 +0000 (13:05 -0400)
commit50452720ba8a582d24870bfe0b4d1a97e6652f4f
treeac664868450574ca1acae9c25fdcbf8d4328426f
parent6c204982e03fe69de59991aaa5b16a4fb21297d0
regexp/syntax: unexport ErrUnexpectedParen

This new error is the only API change in the current draft of
Go 1.0.2 CLs. I'd like to include the CL that introduced it,
because it replaces a mysterious 'internal error' with a
useful error message, but I don't want any API changes,
so unexport the error constant for now. It can be
re-exported for Go 1.1.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6294055
src/pkg/regexp/syntax/parse.go