silence various warnings

This commit is contained in:
rsc 2004-12-27 19:13:31 +00:00
parent b3efcdbf59
commit 73bfbacb24
4 changed files with 7 additions and 3 deletions

View file

@ -29,7 +29,7 @@ int yylook(void);
int yywrap(void);
#define CADD cbuf[clen++]=yytext[0]; \
if (clen>=CBUFLEN-1) { ERROR "string too long", cbuf WARNING; BEGIN A; }
if (clen>=CBUFLEN-1) { ERROR "string too long" WARNING; BEGIN A; }
#define CBUFLEN 500
char cbuf[CBUFLEN];
int c, clen, cflag, delim;