changeset 23068:ae33b925b20f

If eof is encounterd while processing the last block, don't just finish but processes eol block of the current CCL program. (ccl_driver): Add a new jump label ccl_repeat for the above change.
author Kenichi Handa <handa@m17n.org>
date Tue, 18 Aug 1998 13:15:18 +0000
parents ac788ee31080
children 96139be23b05
files src/ccl.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ccl.c	Tue Aug 18 13:15:18 1998 +0000
+++ b/src/ccl.c	Tue Aug 18 13:15:18 1998 +0000
@@ -702,7 +702,7 @@
     else if (ccl->last_block)			\
       {						\
         ic = ccl->eof_ic;			\
-        goto ccl_finish;			\
+        goto ccl_repeat;			\
       }						\
     else					\
       CCL_SUSPEND (CCL_STAT_SUSPEND_BY_SRC);	\
@@ -757,6 +757,7 @@
 
   for (;;)
     {
+    ccl_repeat:
 #ifdef CCL_DEBUG
       ccl_backtrace_table[ccl_backtrace_idx++] = ic;
       if (ccl_backtrace_idx >= CCL_DEBUG_BACKTRACE_LEN)