diff options
author | Russ Cox <rsc@swtch.com> | 2008-01-30 13:47:15 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-01-30 13:47:15 -0500 |
commit | d694fe22b7818371af0368b5ae1623b640dd24e8 (patch) | |
tree | fb76fe4952ac88448eec921d26f0fcf90cb5c53d /src | |
parent | 3a9401ae90d2a16c7a06328d397775ca5b46ffc0 (diff) | |
download | plan9port-d694fe22b7818371af0368b5ae1623b640dd24e8.tar.gz plan9port-d694fe22b7818371af0368b5ae1623b640dd24e8.tar.bz2 plan9port-d694fe22b7818371af0368b5ae1623b640dd24e8.zip |
acme: fix regexp match choice bug
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/acme/regx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |