diff options
author | okan <okan> | 2013-12-02 20:01:19 +0000 |
---|---|---|
committer | okan <okan> | 2013-12-02 20:01:19 +0000 |
commit | 873763f4c6a4369d703274a279296200bfd271a2 (patch) | |
tree | b9e271a8395656cebd2de507b6abffda288d9ed6 /parse.y | |
parent | 3c78191e2ef0b51da1f70327cc9b7e087413f88d (diff) | |
parent | 5dc65d9242c423fd4f45ec48c32e525d9f1300f2 (diff) | |
download | cwm-873763f4c6a4369d703274a279296200bfd271a2.tar.gz cwm-873763f4c6a4369d703274a279296200bfd271a2.tar.xz cwm-873763f4c6a4369d703274a279296200bfd271a2.zip |
cvsimport
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parse.y b/parse.y index 0178092..43499fe 100644 --- a/parse.y +++ b/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); |