changeset 56057:960da0ce1319

(CCL_READ_CHAR): If hit EOF, set REG to -1.
author Kenichi Handa <handa@m17n.org>
date Sun, 13 Jun 2004 00:22:19 +0000
parents 4575a565f45d
children 98d93acdeb6a
files src/ccl.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ccl.c	Sun Jun 13 00:21:39 2004 +0000
+++ b/src/ccl.c	Sun Jun 13 00:22:19 2004 +0000
@@ -827,6 +827,7 @@
       }							\
     else if (ccl->last_block)				\
       {							\
+	REG = -1;					\
         ic = eof_ic;					\
         goto ccl_repeat;				\
       }							\