1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00

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.
This commit is contained in:
Kenichi Handa 1998-08-18 13:15:18 +00:00
parent 7b179c2dc2
commit 4ccd0d4a7e

View file

@ -702,7 +702,7 @@ static tr_stack *mapping_stack_pointer;
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 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
for (;;)
{
ccl_repeat:
#ifdef CCL_DEBUG
ccl_backtrace_table[ccl_backtrace_idx++] = ic;
if (ccl_backtrace_idx >= CCL_DEBUG_BACKTRACE_LEN)