scc

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

commit 65a354524234ab1bc797faadd25dc30fc02b6a9a
parent 8379c7f20b9346a7cd69808c58661bfc2e0d39f5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 30 Oct 2021 13:13:40 +0200

cc1: Fix include errors

The macros to signal an error when a file is not found in an
inclusion path were inverted making that any file not found
in the first path was generating an inclusion error.

Diffstat:
Msrc/cmd/cc/cc1/cc1.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cmd/cc/cc1/cc1.h b/src/cmd/cc/cc1/cc1.h @@ -5,8 +5,8 @@ #define NR_USWITCHES 20 -#define FAIL 0 -#define NOFAIL 1 +#define FAIL 1 +#define NOFAIL 0 /* * Definition of enumerations