]> git.eshelyaron.com Git - emacs.git/commitdiff
(CCL_READ_CHAR): If hit EOF, set REG to -1.
authorKenichi Handa <handa@m17n.org>
Sun, 13 Jun 2004 00:22:19 +0000 (00:22 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 13 Jun 2004 00:22:19 +0000 (00:22 +0000)
src/ccl.c

index 69beb2141e5514c909988341ca1458255b97cfdb..5bff1f3a0ad97f50679734fa280439468ad8586f 100644 (file)
--- 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;                               \
       }                                                        \