From: Kenichi Handa Date: Sun, 13 Jun 2004 00:22:19 +0000 (+0000) Subject: (CCL_READ_CHAR): If hit EOF, set REG to -1. X-Git-Tag: ttn-vms-21-2-B4~5807 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd9c3a9780239aee926e835a1fa17c1124db0a84;p=emacs.git (CCL_READ_CHAR): If hit EOF, set REG to -1. --- diff --git a/src/ccl.c b/src/ccl.c index 69beb2141e5..5bff1f3a0ad 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -827,6 +827,7 @@ while(0) } \ else if (ccl->last_block) \ { \ + REG = -1; \ ic = eof_ic; \ goto ccl_repeat; \ } \