]> code.delx.au - gnu-emacs/blobdiff - src/ccl.h
(syms_of_lread) <load-history>: Doc fix.
[gnu-emacs] / src / ccl.h
index 9086edf6d7d1f49b5baac2ce99013b82fb19e447..ed89bf5e6d87d81cad3c26d59e91d0514d32b386 100644 (file)
--- a/src/ccl.h
+++ b/src/ccl.h
@@ -42,8 +42,8 @@ struct ccl_program {
                                   condition flag of relational
                                   operations.  */
   int private_state;            /* CCL instruction may use this
-                                  for private use, mainly for preservation
-                                  internal states for suspending.
+                                  for private use, mainly for saving
+                                  internal states on suspending.
                                   This variable is set to 0 when ccl is 
                                   set up.  */
   int last_block;              /* Set to 1 while processing the last
@@ -55,8 +55,18 @@ struct ccl_program {
   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 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.  */
 };
 
 /* This data type is used for the spec field of the structure
@@ -67,6 +77,7 @@ struct ccl_spec {
   struct ccl_program encoder;
   unsigned char valid_codes[256];
   int cr_carryover;            /* CR carryover flag.  */
+  unsigned char eight_bit_carryover[MAX_MULTIBYTE_LENGTH];
 };
 
 /* Alist of fontname patterns vs corresponding CCL program.  */