浏览代码

undid a fix. Actually, the fix was wrong

ceriel 37 年之前
父节点
当前提交
e98dffbb1d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      util/cpp/domacro.c

+ 3 - 3
util/cpp/domacro.c

@@ -307,10 +307,10 @@ do_define()
 	ch = skipspaces(ch);	/* find first character of the text	*/
 	assert(ch != EOI);
 	if (class(ch) == STNL) {
-		/*	Treat `#define something' as `#define something "1"'
+		/*	Treat `#define something' as `#define something ""'
 		*/
-		repl_text = "1";
-		length = 1;
+		repl_text = "";
+		length = 0;
 	}
 	else {
 		PushBack();