Mercurial > hg > xemacs-beta
diff src/lisp-disunion.h @ 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 | 2b6fa2618f76 |
line wrap: on
line diff
--- a/src/lisp-disunion.h Tue May 07 16:14:04 2002 +0000 +++ b/src/lisp-disunion.h Thu May 09 07:16:38 2002 +0000 @@ -101,7 +101,8 @@ #define make_int(x) ((Lisp_Object) (((x) << INT_GCBITS) | Lisp_Type_Int_Bit)) #define volatile_make_int(x) make_int (x) -#define make_char(x) ((Lisp_Object) (((x) << GCBITS) | Lisp_Type_Char)) + +#define make_char_1(x) ((Lisp_Object) (((x) << GCBITS) | Lisp_Type_Char)) #define INTP(x) ((EMACS_UINT)(x) & Lisp_Type_Int_Bit) #define INT_PLUS(x,y) ((x)+(y)-Lisp_Type_Int_Bit)