public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3228f4f
)
fixed to not accept dots in numbers
author
ceriel
<none@none>
Fri, 22 Apr 1988 18:34:22 +0000
(18:34 +0000)
committer
ceriel
<none@none>
Fri, 22 Apr 1988 18:34:22 +0000
(18:34 +0000)
mach/proto/as/comm5.c
patch
|
blob
|
history
diff --git
a/mach/proto/as/comm5.c
b/mach/proto/as/comm5.c
index
60b65f6
..
37246ad
100644
(file)
--- a/
mach/proto/as/comm5.c
+++ b/
mach/proto/as/comm5.c
@@
-311,7
+311,7
@@
register c;
c += ('a' - 'A');
*p++ = c;
c = nextchar();
- } while (
ISALNUM
(c));
+ } while (
isalnum
(c));
peekc = c;
*p = '\0';
c = *--p;
@@
-335,7
+335,7
@@
register c;
if (c > '9')
c -= ('a' - '9' - 1);
c -= '0';
- if (c >= radix)
+ if (
(unsigned)
c >= radix)
serror("digit exceeds radix");
yylval.y_valu = yylval.y_valu * radix + c;
}