changeset 34817:41f50ad22d7a

(struct ccl_program): New member cr_consumed.
author Kenichi Handa <handa@m17n.org>
date Fri, 22 Dec 2000 00:07:09 +0000
parents f998b856d92b
children 2c66e24f2398
files src/ccl.h
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ccl.h	Fri Dec 22 00:06:52 2000 +0000
+++ b/src/ccl.h	Fri Dec 22 00:07:09 2000 +0000
@@ -55,9 +55,14 @@
   int stack_idx;		/* How deep the call of CCL_Call is nested.  */
   int eol_type;			/* When the CCL program is used for
 				   encoding by a coding system, set to
-				   the eol_type of the coding
+				   the eol_type of the coding system.
+				   In other cases, always
+				   CODING_EOL_LF.  */
+  int multibyte;		/* 1 if the source text is multibyte.  */
+  int cr_consumed;		/* Flag for encoding DOS-like EOL
+				   format when the CCL program is used
+				   for encoding by a coding
 				   system.  */
-  int multibyte;		/* 1 if the source text is multibyte.  */
 };
 
 /* This data type is used for the spec field of the structure