bug fix: defined(aap)1 expanded to 01
authoreck <none@none>
Tue, 16 Jan 1990 15:27:24 +0000 (15:27 +0000)
committereck <none@none>
Tue, 16 Jan 1990 15:27:24 +0000 (15:27 +0000)
lang/cem/cpp.ansi/replace.c

index 5b2719c..781ef20 100644 (file)
@@ -195,6 +195,7 @@ expand_defined(repl)
        if (parens && ch != ')') error(") missing");
        if (!parens || ch != ')') UnGetChar();
        add2repl(repl, (id && id->id_macro) ? '1' : '0');
+       add2repl(repl, ' ');
 }
 
 newarg(args)