aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/pic
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-01 15:01:00 +0000
committerrsc <devnull@localhost>2005-11-01 15:01:00 +0000
commit604ad4d8ff971314f37440963f4ad8e6ea79aacc (patch)
tree7d67c42a813cf686592836819bfdd50933e6a0f3 /src/cmd/pic
parent24d56929770f47314bfbebed9325dd5bcdaa8771 (diff)
downloadplan9port-604ad4d8ff971314f37440963f4ad8e6ea79aacc.tar.gz
plan9port-604ad4d8ff971314f37440963f4ad8e6ea79aacc.tar.bz2
plan9port-604ad4d8ff971314f37440963f4ad8e6ea79aacc.zip
isdigit (Tom Miller)
Diffstat (limited to 'src/cmd/pic')
-rw-r--r--src/cmd/pic/picl.lx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/pic/picl.lx b/src/cmd/pic/picl.lx
index da29d246..45130f24 100644
--- a/src/cmd/pic/picl.lx
+++ b/src/cmd/pic/picl.lx
@@ -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 {