changeset 20930:1331679fe704

(struct coding_system): New member fake_multibyte.
author Kenichi Handa <handa@m17n.org>
date Fri, 20 Feb 1998 01:40:47 +0000
parents 21009c0c7598
children 068eb408c911
files src/coding.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.h	Fri Feb 20 01:40:47 1998 +0000
+++ b/src/coding.h	Fri Feb 20 01:40:47 1998 +0000
@@ -351,6 +351,12 @@
   /* The following members are set by encoding/decoding routine.  */
   int produced, produced_char, consumed, consumed_char;
 
+  /* Encoding routines set this to 1 when they produce a byte sequence
+     which can be parsed as a multibyte character.  Decoding routines
+     set this to 1 when they encounter an invalid code and, as the
+     result, produce an unexpected multibyte character.  */
+  int fake_multibyte;
+
   /* The following members are all Lisp symbols.  We don't have to
      protect them from GC because the current garbage collection
      doesn't relocate Lisp symbols.  But, when it is changed, we must