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…
Add table
Add a link
Reference in a new issue