diff options
author | Jan Mercl <befelemepeseveze@gmail.com> | 2012-05-14 11:50:25 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-05-14 11:50:25 -0700 |
commit | bd13f6ff8eea412885d6a22a284a259edda57980 (patch) | |
tree | 1c1d2449f6f74120d8591746535739c02be84faf /api/go1.txt | |
parent | 2a47e0444c4d75ee28f1f60ed41aa274be56dda9 (diff) | |
download | go-bd13f6ff8eea412885d6a22a284a259edda57980.tar.gz go-bd13f6ff8eea412885d6a22a284a259edda57980.zip |
regexp/syntax: replace internal error on unexpected ) w/ ErrUnexpectedParen
Unbalanced extra right parenthesis produced an internal error instead of
a more descriptive one.
Fixes #3406.
R=r, rsc
CC=golang-dev
https://golang.org/cl/6201063
Diffstat (limited to 'api/go1.txt')
-rw-r--r-- | api/go1.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/go1.txt b/api/go1.txt index e6bdd173e9..f12719fed6 100644 --- a/api/go1.txt +++ b/api/go1.txt @@ -5484,6 +5484,7 @@ pkg regexp/syntax, const ErrMissingBracket ErrorCode pkg regexp/syntax, const ErrMissingParen ErrorCode pkg regexp/syntax, const ErrMissingRepeatArgument ErrorCode pkg regexp/syntax, const ErrTrailingBackslash ErrorCode +pkg regexp/syntax, const ErrUnexpectedParen ErrorCode pkg regexp/syntax, const FoldCase Flags pkg regexp/syntax, const InstAlt InstOp pkg regexp/syntax, const InstAltMatch InstOp |