scc

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

commit 48cb441384ff77a4e40bfafe24948ecc5b099252
parent 0c6854e0f1c57940cf2749e44e318f0bd2148283
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun,  1 Mar 2015 21:45:07 +0000

Change type of define in ctype of cc1

It was a bitfield, but after removing sign, it was
the only bitfield of the struct, so this new deinition
uses the same space than the original and it can be
compiled with Plan9 compiler.

Diffstat:
Mcc1/cc1.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/cc1.h b/cc1/cc1.h @@ -37,7 +37,7 @@ struct ctype { uint8_t op; /* type builder operator */ uint8_t ns; char letter; /* letter of the type */ - bool defined : 1; /* type defined (is not a forward reference) */ + bool defined; /* type defined (is not a forward reference) */ struct ctype *type; /* base type */ struct ctype *next; /* next element in the hash */ Type **pars; /* type parameters */