Mercurial > emacs
comparison src/regex.c @ 1579:bcd84459e68a
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sun, 15 Nov 1992 10:30:58 +0000 |
parents | e356f6701b9e |
children | e81cb2cc709e |
comparison
equal
deleted
inserted
replaced
1578:8c779144d540 | 1579:bcd84459e68a |
---|---|
133 since ours (we hope) works properly with all combinations of | 133 since ours (we hope) works properly with all combinations of |
134 machines, compilers, `char' and `unsigned char' argument types. | 134 machines, compilers, `char' and `unsigned char' argument types. |
135 (Per Bothner suggested the basic approach.) */ | 135 (Per Bothner suggested the basic approach.) */ |
136 #undef SIGN_EXTEND_CHAR | 136 #undef SIGN_EXTEND_CHAR |
137 #if __STDC__ | 137 #if __STDC__ |
138 #ifndef VMS | |
138 #define SIGN_EXTEND_CHAR(c) ((signed char) (c)) | 139 #define SIGN_EXTEND_CHAR(c) ((signed char) (c)) |
140 #else /* On VMS, VAXC doesn't recognize `signed' before `char' */ | |
141 #define SIGN_EXTEND_CHAR(c) ((char) (c)) | |
142 #endif /* VMS */ | |
139 #else | 143 #else |
140 /* As in Harbison and Steele. */ | 144 /* As in Harbison and Steele. */ |
141 #define SIGN_EXTEND_CHAR(c) ((((unsigned char) (c)) ^ 128) - 128) | 145 #define SIGN_EXTEND_CHAR(c) ((((unsigned char) (c)) ^ 128) - 128) |
142 #endif | 146 #endif |
143 | 147 |