* more changes to expect.scm, to avoid the one-character lookhead
authorJim Blandy <jimb@red-bean.com>
Mon, 14 Jun 1999 16:54:15 +0000 (16:54 +0000)
committerJim Blandy <jimb@red-bean.com>
Mon, 14 Jun 1999 16:54:15 +0000 (16:54 +0000)
commit8f59c14e2ce1c475f5a2ea683eda7a9573cfda27
tree7d1509d3418c12c2eddb2c441cb106106c6e9458
parentda6929b4b8aef2ca819633079ba3b23a12dbd588
* more changes to expect.scm, to avoid the one-character lookhead
that was introduced to fix the $ problem:
* expect.scm (expect): call the match proc an extra time at end
of file and set the eof? argument appropriately.  call
expect-eof-proc only if the last call didn't match.
* expect.scm (expect-strings): change port to eof? in match proc.
* expect.scm (expect-regexec): take an eof indicator as an argument
instead of a port.
ice-9/expect.scm