]> git.eshelyaron.com Git - emacs.git/commitdiff
(struct ccl_program) <eight_bit_control: Comment fixed.
authorKenichi Handa <handa@m17n.org>
Fri, 30 May 2003 07:58:37 +0000 (07:58 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 30 May 2003 07:58:37 +0000 (07:58 +0000)
src/ChangeLog
src/ccl.h

index b2e91effc1e37849ab63a4e9602e6020e272e57c..34f81336e6dd573cbf865e55ad72f951bf1aa31c 100644 (file)
@@ -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
index f5344ff0d070f244a384f4ef6e8178dd52027391..bfd4757b41a0f1751387b02e104e87e415337931 100644 (file)
--- 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