aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam/regexp.c')
-rw-r--r--src/cmd/sam/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/sam/regexp.c b/src/cmd/sam/regexp.c
index 2e369fe1..57c639d9 100644
--- a/src/cmd/sam/regexp.c
+++ b/src/cmd/sam/regexp.c
@@ -700,11 +700,11 @@ bexecute(File *f, Posn startp)
break;
case 1: /* expired; wrap to end */
if(sel.p[0].p1>=0)
- case 3:
goto Return;
list[0][0].inst = list[1][0].inst = 0;
p = f->b.nc;
goto doloop;
+ case 3:
default:
goto Return;
}