#include "defs.h"
-char _ctype1[] = {
+const char _ctype1[] = {
/* 000 001 002 003 004 005 006 007 */
_EOF, 0, 0, 0, 0, 0, 0, 0,
};
-char _ctype2[] = {
+const char _ctype2[] = {
/* 000 001 002 003 004 005 006 007 */
0, 0, 0, 0, 0, 0, 0, 0,
#define _IDCH (T_IDC|T_DIG)
#define _META (T_SPC|T_DIP|T_MET|T_EOR)
-extern char _ctype1[];
+extern const char _ctype1[];
/* nb these args are not call by value !!!! */
#define space(c) (((c)"E)==0 && _ctype1[c]&(T_SPC))
#define subchar(c) (((c)"E)==0 && _ctype1[c]&(T_SUB|T_QOT))
#define escchar(c) (((c)"E)==0 && _ctype1[c]&(T_ESC))
-extern char _ctype2[];
+extern const char _ctype2[];
#define digit(c) (((c)"E)==0 && _ctype2[c]&(T_DIG))
#define fngchar(c) (((c)"E)==0 && _ctype2[c]&(T_FNG))