diff --git a/src/regexp/onepass.go b/src/regexp/onepass.go index f6cd5ac7c1..3ceb461905 100644 --- a/src/regexp/onepass.go +++ b/src/regexp/onepass.go @@ -364,7 +364,6 @@ func makeOnePass(p *onePassProg) *onePassProg { } case syntax.InstMatch, syntax.InstFail: m[pc] = inst.Op == syntax.InstMatch - break case syntax.InstRune: m[pc] = false if len(inst.Next) > 0 {