comparison src/mule-coding.c @ 831:5d09ddada9ae

[xemacs-hg @ 2002-05-09 07:15:20 by ben] fix two bugs noted by Steve doprnt.c: Use make_int() not make_char() when error about bad charval, or abort will occur. extents.c: Loop over children, not ourself -- avoid infinite loop. lisp-disunion.h, lisp-union.h: Rename make_char() to make_char_1 for error-checking purposes. lread.c: Syntax error if escape is outside of ISO-8859-1 range. Remove hopelessly broken (and unworkable) FSF_KEYS code. mule-coding.c, search.c: Spacing changes. text.h: New make_char() -- verify that the char value is legal.
author ben
date Thu, 09 May 2002 07:16:38 +0000
parents 6728e641994e
children 804517e16990
comparison
equal deleted inserted replaced
830:20baef34a0b0 831:5d09ddada9ae
205 if (byte_shift_jis_two_byte_1_p (s1) && 205 if (byte_shift_jis_two_byte_1_p (s1) &&
206 byte_shift_jis_two_byte_2_p (s2)) 206 byte_shift_jis_two_byte_2_p (s2))
207 { 207 {
208 DECODE_SHIFT_JIS (s1, s2, c1, c2); 208 DECODE_SHIFT_JIS (s1, s2, c1, c2);
209 return make_char (make_emchar (Vcharset_japanese_jisx0208, 209 return make_char (make_emchar (Vcharset_japanese_jisx0208,
210 c1 & 0x7F, c2 & 0x7F)); 210 c1 & 0x7F, c2 & 0x7F));
211 } 211 }
212 else 212 else
213 return Qnil; 213 return Qnil;
214 } 214 }
215 215