Commit 13b1d5b1 authored by Russ Cox's avatar Russ Cox

fix build - missing from 35404

TBR=gri
OCL=35411
CL=35411
parent b1fc6506
......@@ -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.
......
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