diff --git a/src/lexer.h b/src/lexer.h index d7e9e7e33485c2a1247f1b72dd083bb1bbe185cf..a3520beb50509092f008a95a28fd2fc60ad58f24 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -1,5 +1,5 @@ /* - * $Id: lexer.h,v 1.6 1999/03/14 01:34:04 grubba Exp $ + * $Id: lexer.h,v 1.7 1999/09/19 20:36:47 grubba Exp $ * * Lexical analyzer template. * Based on lex.c 1.62 @@ -760,15 +760,11 @@ static int low_yylex(YYSTYPE *yylval) #endif /* 0 */ }else{ char buff[100]; -#if (SHIFT == 0) - sprintf(buff, "Illegal character (hex %02x) '%c'", c, c); -#else - if ((c > 0) && (c < 256)) { + if ((c > 31) && (c < 256)) { sprintf(buff, "Illegal character (hex %02x) '%c'", c, c); } else { sprintf(buff, "Illegal character (hex %02x)", c); } -#endif yyerror(buff); return ' '; }