diff options
author | Kenichi Handa <handa@m17n.org> | 2003-05-30 07:58:37 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2003-05-30 07:58:37 +0000 |
commit | 034060e4e71334fc74e0dfe6e728989e268f1f74 (patch) | |
tree | cc10b6d00cfb391f1a353b62993b8c84e545d5d8 | |
parent | b671ed5e8e942b8a804ba3ed7ce2bfc601f496ac (diff) | |
download | emacs-034060e4e71334fc74e0dfe6e728989e268f1f74.tar.gz |
(struct ccl_program) <eight_bit_control: Comment fixed.
-rw-r--r-- | src/ChangeLog | 12 | ||||
-rw-r--r-- | src/ccl.h | 7 |
2 files changed, 17 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b2e91effc1e..34f81336e6d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,15 @@ +2003-05-30 Kenichi Handa <handa@m17n.org> + + * coding.c (ccl_coding_driver): Set ccl->eight_bit_control + properly before calling ccl_driver. + + * ccl.h (struct ccl_program) <eight_bit_control: Comment fixed. + + * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is + nonzero. + (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. + (setup_ccl_program): Initialize ccl->eight_bit_control to zero. + 2003-05-29 Kenichi Handa <handa@m17n.org> * coding.c (decode_coding_iso2022): Pay attention to the byte diff --git a/src/ccl.h b/src/ccl.h index f5344ff0d07..bfd4757b41a 100644 --- a/src/ccl.h +++ b/src/ccl.h @@ -65,8 +65,11 @@ struct ccl_program { system. */ int suppress_error; /* If nonzero, don't insert error message in the output. */ - int eight_bit_control; /* Set to nonzero if CCL_WRITE_CHAR - writes eight-bit-control char. */ + int eight_bit_control; /* If nonzero, ccl_driver counts all + eight-bit-control bytes written by + CCL_WRITE_CHAR. After execution, + if no such byte is written, set + this value to zero. */ }; /* This data type is used for the spec field of the structure |