scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 75838165fb9a0e10b6d3f16ed84fe3b726770e25
parent 37988c26f7cc59b874f1007a4551e7b1c91512db
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  1 Nov 2021 18:00:19 +0100

cc1: Enable use of macros in #include

Parameter of include must be expanded.

Diffstat:
Msrc/cmd/cc/cc1/cpp.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/cmd/cc/cc1/cpp.c b/src/cmd/cc/cc1/cpp.c @@ -479,6 +479,7 @@ include(void) if (cppoff) return; + disexpand = 0; namespace = NS_IDEN; next();