X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fz80%2Faslex.c;h=4181427131e9880cc58b2546e9c3c577b49b372e;hb=d2da99feec099aa224e1db53bc5a1ed42ed51ec9;hp=9eab59a49bdc0156f6b10dd4348f3279d0bd0a16;hpb=dd06be05fb5010dc89e1fab6fcfa2c906f66d815;p=fw%2Fsdcc diff --git a/as/z80/aslex.c b/as/z80/aslex.c index 9eab59a4..41814271 100644 --- a/as/z80/aslex.c +++ b/as/z80/aslex.c @@ -164,7 +164,7 @@ char *id; do { if (p < &id[NCPS]) *p++ = c; - } while (ctype[c=get()] & ~(SPACE|ILL)); + } while (ctype[c=get()] & (0xFF - (SPACE|ILL))); unget(c); while (p < &id[NCPS]) *p++ = 0;