diff options
author | rsc <devnull@localhost> | 2007-06-09 04:58:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-06-09 04:58:00 +0000 |
commit | 2f9d900118318c1a820b170cc04ddf58ed1eee87 (patch) | |
tree | f816b8624a98d93f0969f2efeaad3647a1d727a9 /src/cmd/sam | |
parent | 63408c39a1d07b210540e33a5fec030296cc5f49 (diff) | |
download | plan9port-2f9d900118318c1a820b170cc04ddf58ed1eee87.tar.gz plan9port-2f9d900118318c1a820b170cc04ddf58ed1eee87.tar.bz2 plan9port-2f9d900118318c1a820b170cc04ddf58ed1eee87.zip |
day one bug in sam regexp code
Diffstat (limited to 'src/cmd/sam')
-rw-r--r-- | src/cmd/sam/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/sam/regexp.c b/src/cmd/sam/regexp.c index d4c85050..937fb4fe 100644 --- a/src/cmd/sam/regexp.c +++ b/src/cmd/sam/regexp.c @@ -647,7 +647,7 @@ execute(File *f, Posn startp, Posn eof) /* evaluate right choice later */ if(++ntl >= NLIST) goto Overflow; - addinst(tlp, inst->right, &tlp->se); + addinst(tl, inst->right, &tlp->se); /* efficiency: advance and re-evaluate */ inst = inst->left; goto Switchstmt; |