Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
830:20baef34a0b0 | 831:5d09ddada9ae |
---|---|
99 } | 99 } |
100 | 100 |
101 #define make_int(x) ((Lisp_Object) (((x) << INT_GCBITS) | Lisp_Type_Int_Bit)) | 101 #define make_int(x) ((Lisp_Object) (((x) << INT_GCBITS) | Lisp_Type_Int_Bit)) |
102 | 102 |
103 #define volatile_make_int(x) make_int (x) | 103 #define volatile_make_int(x) make_int (x) |
104 #define make_char(x) ((Lisp_Object) (((x) << GCBITS) | Lisp_Type_Char)) | 104 |
105 #define make_char_1(x) ((Lisp_Object) (((x) << GCBITS) | Lisp_Type_Char)) | |
105 | 106 |
106 #define INTP(x) ((EMACS_UINT)(x) & Lisp_Type_Int_Bit) | 107 #define INTP(x) ((EMACS_UINT)(x) & Lisp_Type_Int_Bit) |
107 #define INT_PLUS(x,y) ((x)+(y)-Lisp_Type_Int_Bit) | 108 #define INT_PLUS(x,y) ((x)+(y)-Lisp_Type_Int_Bit) |
108 #define INT_MINUS(x,y) ((x)-(y)+Lisp_Type_Int_Bit) | 109 #define INT_MINUS(x,y) ((x)-(y)+Lisp_Type_Int_Bit) |
109 #define INT_PLUS1(x) INT_PLUS (x, make_int (1)) | 110 #define INT_PLUS1(x) INT_PLUS (x, make_int (1)) |