day one bug in sam regexp code
This commit is contained in:
parent
63408c39a1
commit
2f9d900118
3 changed files with 3 additions and 3 deletions
|
|
@ -668,7 +668,7 @@ rxexecute(Text *t, Rune *r, uint startp, uint eof, Rangeset *rp)
|
|||
/* evaluate right choice later */
|
||||
if(++ntl >= NLIST)
|
||||
goto Overflow;
|
||||
addinst(tlp, inst->u.right, &tlp->se);
|
||||
addinst(tl, inst->u.right, &tlp->se);
|
||||
/* efficiency: advance and re-evaluate */
|
||||
inst = inst->u1.left;
|
||||
goto Switchstmt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue