shithub: scc

Download patch

ref: 48cb441384ff77a4e40bfafe24948ecc5b099252
parent: 0c6854e0f1c57940cf2749e44e318f0bd2148283
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Mar 1 16:45:07 EST 2015

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.

--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -37,7 +37,7 @@
 	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 */