* as/hc08/aslex.c,
[fw/sdcc] / as / mcs51 / lkeval.c
index 4834139ef4c926cab29dceff11029df29b444f58..90df00311fd86d95a2fd4fc5f32f893e0ec6db8b 100644 (file)
@@ -11,9 +11,6 @@
 
 #include <stdio.h>
 #include <string.h>
-#if !defined(_MSC_VER)
-#include <alloc.h>
-#endif
 #include "aslink.h"
 
 /*)Module      lkeval.c
@@ -229,7 +226,7 @@ term()
                return(v);
        }
        if (c == '-') {
-               return(-expr(100));
+               return(0-expr(100));
        }
        if (c == '~') {
                return(~expr(100));