* as/asx8051.dsp: corrected output directories
[fw/sdcc] / as / mcs51 / assubr.c
index a5026e74593b0ef87e0d3010fe3d549811c11cbc..1751c29454b02bf39b79786f23b25d22f5a99d79 100644 (file)
@@ -12,7 +12,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#include <alloc.h>
 #include "asm.h"
 
 /*)Module      assubr.c
@@ -99,12 +98,15 @@ register int c;
  *             none
  */
 
+extern int fatalErrors;
+
 VOID
 diag()
 {
        register char *p,*errstr;
 
        if (eb != ep) {
+               fatalErrors++;
                p = eb;
                fprintf(stderr, "?ASxxxx-Error-<");
                while (p < ep) {