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