commit - 36da9bee5bd42c389b2791dbb21fd09ea19bf308
commit + e63bf1fbae3e21f5082b094c27929e111be5073d
blob - 11c5c2f5e0bd5cf383edf69b4e33790b9b0db5d6
blob + b962982a479b2f95d22ec1bea62cfd0c31f972ba
--- parse.y
+++ parse.y
yylex(void)
#endif
{
- unsigned char buf[8096];
- unsigned char *p, *val;
- int quotec, next, c;
- int token;
+ char buf[8096];
+ char *p, *val;
+ int quotec, next, c;
+ int token;
top:
p = buf;
p = val + strlen(val) - 1;
lungetc(DONE_EXPAND);
while (p >= val) {
- lungetc(*p);
+ lungetc((unsigned char)*p);
p--;
}
lungetc(START_EXPAND);
} else {
nodigits:
while (p > buf + 1)
- lungetc(*--p);
- c = *--p;
+ lungetc((unsigned char)*--p);
+ c = (unsigned char)*--p;
if (c == '-')
return c;
}