diff --git a/b.c b/b.c index a54a234..ac3663d 100644 --- a/b.c +++ b/b.c @@ -27,6 +27,7 @@ THIS SOFTWARE. #define DEBUG #include +#include #include #include #include @@ -831,7 +832,7 @@ int relex(void) /* lexical analyzer for reparse */ * not without first adapting the entire * program to track each string's length. */ - for (i = 1; i < NCHARS; i++) { + for (i = 1; i <= UCHAR_MAX; i++) { if (!adjbuf((char **) &buf, &bufsz, bp-buf+1, 100, (char **) &bp, "relex2")) FATAL("out of space for reg expr %.10s...", lastre); if (cc->cc_func(i)) {