Browse Source

removed wrong assertion

ceriel 30 years ago
parent
commit
f06b39f112
3 changed files with 4 additions and 1 deletions
  1. 1 0
      lang/cem/cpp.ansi/domacro.c
  2. 2 0
      lang/cem/cpp.ansi/main.c
  3. 1 1
      lang/cem/cpp.ansi/replace.c

+ 1 - 0
lang/cem/cpp.ansi/domacro.c

@@ -17,6 +17,7 @@
 #include	"parbufsize.h"	
 #include	"textsize.h"	
 #include	"idfsize.h"	
+#include	"debug.h"
 #include	<assert.h>
 #include	<alloc.h>
 #include	"class.h"

+ 2 - 0
lang/cem/cpp.ansi/main.c

@@ -5,6 +5,8 @@
 /* $Header$ */
 /* MAIN PROGRAM */
 
+#include	"debug.h"
+
 #include	<alloc.h>
 #include	<assert.h>
 #include	<system.h>

+ 1 - 1
lang/cem/cpp.ansi/replace.c

@@ -17,6 +17,7 @@
 #include	"arith.h"
 #include	"LLlex.h"
 #include	"class.h"
+#include	"debug.h"
 #include	<assert.h>
 #include	"macbuf.h"
 #include	"replace.h"
@@ -194,7 +195,6 @@ expand_defined(repl)
 		id = findidf(str);
 		free(str);
 	} else	id = 0;
-	assert(id || class(ch) == STELL);
 	ch = GetChar();
 	ch = skipspaces(ch, 0);
 	if (parens && ch != ')') error(") missing");