mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
sam: fix regexp match choice bug
This commit is contained in:
parent
0f897f99ef
commit
3a9401ae90
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ bexecute(File *f, Posn startp)
|
|||
break;
|
||||
case OR:
|
||||
/* evaluate right choice later */
|
||||
if(addinst(tl, inst->right, &tlp->se))
|
||||
if(addinst(tlp, inst->right, &tlp->se))
|
||||
if(++ntl >= NLIST)
|
||||
goto Overflow;
|
||||
/* efficiency: advance and re-evaluate */
|
||||
|
|
Loading…
Reference in a new issue