Mercurial > hg > xemacs-beta
comparison src/mule-ccl.c @ 4295:eded49463f9a
[xemacs-hg @ 2007-11-29 13:37:51 by aidan]
Add round-trip tests for my fixed-width-8-bit CCL coding systems, fix a bug
with them, take out some inadvertant debugging code of mine from mule-ccl.c.
author | aidan |
---|---|
date | Thu, 29 Nov 2007 13:38:21 +0000 |
parents | 6438d53aabcf |
children | d64f1060cd65 |
comparison
equal
deleted
inserted
replaced
4294:01a2c678e91f | 4295:eded49463f9a |
---|---|
954 int stack_idx = ccl->stack_idx; | 954 int stack_idx = ccl->stack_idx; |
955 /* Instruction counter of the current CCL code. */ | 955 /* Instruction counter of the current CCL code. */ |
956 int this_ic = 0; | 956 int this_ic = 0; |
957 int eof_ic = ccl->eof_ic; | 957 int eof_ic = ccl->eof_ic; |
958 int eof_hit = 0; | 958 int eof_hit = 0; |
959 static int ccl_driver_calls; | |
960 | 959 |
961 if (ic >= eof_ic) | 960 if (ic >= eof_ic) |
962 ic = CCL_HEADER_MAIN; | 961 ic = CCL_HEADER_MAIN; |
963 | 962 |
964 if (ccl->buf_magnification ==0) /* We can't produce any bytes. */ | 963 if (ccl->buf_magnification ==0) /* We can't produce any bytes. */ |
968 mapping_stack_pointer = mapping_stack; | 967 mapping_stack_pointer = mapping_stack; |
969 | 968 |
970 #ifdef CCL_DEBUG | 969 #ifdef CCL_DEBUG |
971 ccl_backtrace_idx = 0; | 970 ccl_backtrace_idx = 0; |
972 #endif | 971 #endif |
973 | |
974 ++ccl_driver_calls; | |
975 | 972 |
976 for (;;) | 973 for (;;) |
977 { | 974 { |
978 ccl_repeat: | 975 ccl_repeat: |
979 #ifdef CCL_DEBUG | 976 #ifdef CCL_DEBUG |