Commit Diff


commit - 3a9401ae90d2a16c7a06328d397775ca5b46ffc0
commit + d694fe22b7818371af0368b5ae1623b640dd24e8
blob - 3a3e78c536a2927abd48b1d0df3721300d388715
blob + 5197e8a45f7c4a3bc4b6df6167eab470469588cc
--- src/cmd/acme/regx.c
+++ src/cmd/acme/regx.c
@@ -667,7 +667,7 @@ rxexecute(Text *t, Rune *r, uint startp, uint eof, Ran
 				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 */