(CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in
commit9eaa8e651174852fae9da81b9ce5f9d1c9c89238
authorKenichi Handa <handa@m17n.org>
Sat, 12 Jun 2004 02:33:39 +0000 (12 02:33 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 12 Jun 2004 02:33:39 +0000 (12 02:33 +0000)
treef61e2e719796cb35d9ae0ed3671296bbabb5ab5a
parent60d334c36712e5a0fe5e12ef96b8bfc243b36ff0
(CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in
ccl_prog_stack_struct and update it.
(CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook.
(CCL_READ_CHAR): Get instruction counter from eof_ic, not from
ccl->eof_ic on EOF.
(ccl_debug_hook): New function.
(struct ccl_prog_stack): New member eof_ic.
(ccl_driver): Handle EOF in subrountine call correctly.
src/ccl.c