scc

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

commit ba987573a5ba468d3f1e7237feaf092fc47a444a
parent 32ceb290823b1ce38d54ab9117b9b2ff28c3a810
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();