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;
|
break;
|
||||||
case OR:
|
case OR:
|
||||||
/* evaluate right choice later */
|
/* evaluate right choice later */
|
||||||
if(addinst(tl, inst->right, &tlp->se))
|
if(addinst(tlp, inst->right, &tlp->se))
|
||||||
if(++ntl >= NLIST)
|
if(++ntl >= NLIST)
|
||||||
goto Overflow;
|
goto Overflow;
|
||||||
/* efficiency: advance and re-evaluate */
|
/* efficiency: advance and re-evaluate */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue