mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
acme: fix regexp match choice bug
This commit is contained in:
parent
3a9401ae90
commit
d694fe22b7
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue