A fix for stabs, and define NDEBUG
authorceriel <none@none>
Fri, 22 Oct 1993 14:24:31 +0000 (14:24 +0000)
committerceriel <none@none>
Fri, 22 Oct 1993 14:24:31 +0000 (14:24 +0000)
lang/cem/cemcom.ansi/BigPars
lang/cem/cemcom.ansi/SmallPars
lang/cem/cemcom.ansi/domacro.c
lang/cem/cemcom.ansi/input.c

index a86aeda..fa9f30c 100644 (file)
@@ -84,6 +84,7 @@
 
 !File: debug.h
 /*#define DEBUG                1       /* perform various self-tests           */
+#define NDEBUG         1       /* disable assertions                   */
 
 
 !File: use_tmp.h
index 9614315..237fd4d 100644 (file)
@@ -84,6 +84,7 @@
 
 !File: debug.h
 /*#define DEBUG                1       /* perform various self-tests           */
+#define NDEBUG         1       /* disable assertions                   */
 
 
 !File: use_tmp.h
index 3f4f43b..a1c1e54 100644 (file)
@@ -30,6 +30,7 @@
 #include       "dbsymtab.h"
 #ifdef DBSYMTAB
 #include       <stb.h>
+#include       <em.h>
 int            IncludeLevel = 0;
 #endif
 
@@ -347,7 +348,7 @@ do_include()
 #ifdef DBSYMTAB
                        IncludeLevel++;
                        if (options['g']) {
-                               C_ms_std(FileName, N_BINCL, 0);
+                               C_ms_stb_cst(FileName, N_BINCL, 0, (arith) 0);
                        }
 #endif /* DBSYMTAB */
                        if (result != filenm) free(filenm);
index 0bfb800..c56f48c 100644 (file)
@@ -20,7 +20,8 @@ struct file_info      finfo;
 #include       "lint.h"
 #ifndef NOPP
 #ifdef DBSYMTAB
-#include        <stb.h>
+#include <stb.h>
+#include <em.h>
 extern int      IncludeLevel;
 extern char    options[];
 #endif
@@ -77,7 +78,7 @@ AtEoIF()
        nestlevel = nestlow;
 #ifdef DBSYMTAB
        if (options['g'] && IncludeLevel > 0) {
-               C_ms_std(FileName, N_EINCL, 0);
+               C_ms_stb_cst(FileName, N_EINCL, 0, (arith) 0);
        }
        IncludeLevel--;
 #endif