* sdcc.spec: updated
[fw/sdcc] / as / z80 / aslex.c
index 2713ff8df26d262c9863ca13b05aade9c5cf13da..4181427131e9880cc58b2546e9c3c577b49b372e 100644 (file)
 #include <setjmp.h>
 #include <string.h>
 
-//#if !defined(_MSC_VER)
-//#include <alloc.h>
-//#endif
-
 #include "asm.h"
 
 /*)Module      aslex.c
@@ -168,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;