From d694fe22b7818371af0368b5ae1623b640dd24e8 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 30 Jan 2008 13:47:15 -0500 Subject: acme: fix regexp match choice bug --- src/cmd/acme/regx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd/acme/regx.c b/src/cmd/acme/regx.c index 3a3e78c5..5197e8a4 100644 --- a/src/cmd/acme/regx.c +++ b/src/cmd/acme/regx.c @@ -667,7 +667,7 @@ rxexecute(Text *t, Rune *r, uint startp, uint eof, Rangeset *rp) break; case OR: /* evaluate right choice later */ - if(addinst(tl, inst->u.right, &tlp->se)) + if(addinst(tlp, inst->u.right, &tlp->se)) if(++ntl >= NLIST) goto Overflow; /* efficiency: advance and re-evaluate */ -- cgit v1.2.3