diff --git a/parse.y b/parse.y index 43499fe..0178092 100644 --- a/parse.y +++ b/parse.y @@ -288,9 +288,9 @@ lookup(char *s) #define MAXPUSHBACK 128 -u_char *parsebuf; +char *parsebuf; int parseindex; -u_char pushback_buffer[MAXPUSHBACK]; +char pushback_buffer[MAXPUSHBACK]; int pushback_index = 0; int @@ -383,8 +383,8 @@ findeol(void) int yylex(void) { - u_char buf[8096]; - u_char *p; + char buf[8096]; + char *p; int quotec, next, c; int token; @@ -425,7 +425,7 @@ yylex(void) yyerror("string too long"); return (findeol()); } - *p++ = c; + *p++ = (char)c; } yylval.v.string = xstrdup(buf); return (STRING);