mirror of
https://github.com/golang/go
synced 2024-11-12 09:50:21 -07:00
fix build - missing from 35404
TBR=gri OCL=35411 CL=35411
This commit is contained in:
parent
b1fc650666
commit
13b1d5b1bb
@ -232,6 +232,13 @@ var (
|
||||
bug_content *regexp.Regexp;
|
||||
)
|
||||
|
||||
func makeRex(s string) *regexp.Regexp {
|
||||
re, err := regexp.Compile(s);
|
||||
if err != nil {
|
||||
panic("MakeRegexp ", s, " ", err.String());
|
||||
}
|
||||
return re;
|
||||
}
|
||||
|
||||
// addFile adds the AST for a source file to the docReader.
|
||||
// Adding the same AST multiple times is a no-op.
|
||||
|
Loading…
Reference in New Issue
Block a user