isdigit (Tom Miller)

This commit is contained in:
rsc 2005-11-01 15:01:00 +00:00
parent 24d5692977
commit 604ad4d8ff
7 changed files with 10 additions and 7 deletions

View file

@ -248,7 +248,7 @@ WS [ \t]
pbstr(p->s_val.p);
dprintf("pushing back `%s'\n", p->s_val.p);
}
} else if (islower(yytext[0])) {
} else if (islower((unsigned char)yytext[0])) {
yylval.p = tostring(yytext);
return(VARNAME);
} else {