cvsimport
This commit is contained in:
10
parse.y
10
parse.y
@@ -288,9 +288,9 @@ lookup(char *s)
|
||||
|
||||
#define MAXPUSHBACK 128
|
||||
|
||||
char *parsebuf;
|
||||
u_char *parsebuf;
|
||||
int parseindex;
|
||||
char pushback_buffer[MAXPUSHBACK];
|
||||
u_char pushback_buffer[MAXPUSHBACK];
|
||||
int pushback_index = 0;
|
||||
|
||||
int
|
||||
@@ -383,8 +383,8 @@ findeol(void)
|
||||
int
|
||||
yylex(void)
|
||||
{
|
||||
char buf[8096];
|
||||
char *p;
|
||||
u_char buf[8096];
|
||||
u_char *p;
|
||||
int quotec, next, c;
|
||||
int token;
|
||||
|
||||
@@ -425,7 +425,7 @@ yylex(void)
|
||||
yyerror("string too long");
|
||||
return (findeol());
|
||||
}
|
||||
*p++ = (char)c;
|
||||
*p++ = c;
|
||||
}
|
||||
yylval.v.string = xstrdup(buf);
|
||||
return (STRING);
|
||||
|
||||
Reference in New Issue
Block a user