projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* as/hc08/asmain.c,
[fw/sdcc]
/
as
/
z80
/
asexpr.c
diff --git
a/as/z80/asexpr.c
b/as/z80/asexpr.c
index e6fa421c69b3eda4a5102576711d2b622d1bf179..2664550db4d31b42763ae8ef2cb8eaabcf85c05b 100644
(file)
--- a/
as/z80/asexpr.c
+++ b/
as/z80/asexpr.c
@@
-273,7
+273,7
@@
register struct expr *esp;
char id[NCPS];
struct sym *sp;
struct tsym *tp;
char id[NCPS];
struct sym *sp;
struct tsym *tp;
- int r, v;
+ int r
= 0
, v;
c = getnb();
/*
c = getnb();
/*
@@
-347,7
+347,7
@@
register struct expr *esp;
if (ctype[c] & DIGIT) {
esp->e_mode = S_USER;
jp = ip;
if (ctype[c] & DIGIT) {
esp->e_mode = S_USER;
jp = ip;
- while (ctype[
*jp
] & RAD10) {
+ while (ctype[
(unsigned char)(*jp)
] & RAD10) {
jp++;
}
if (*jp == '$') {
jp++;
}
if (*jp == '$') {