* as/mcs51/asexpr.c (expr): disabled warning "not in .flat24 mode",
[fw/sdcc] / as / mcs51 / aslex.c
index cd43a97b94acf7e7b063656f76df7e94e8161903..4f774c424d03a17495448fb949ea42567cb72374 100644 (file)
@@ -15,9 +15,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#if !defined(_MSC_VER)
-#include <alloc.h>
-#endif
 #include "asm.h"
 
 /*)Module      aslex.c
@@ -165,7 +162,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;