scc

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

commit 56fadec84cdb589309188efc87cddc8d7092abd5
parent 0fc70b67c3a3d5242809249cd0ca56fa09873b52
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 10 Dec 2024 10:09:35 +0100

cc2: Fix indentation in struct addr

Diffstat:
Msrc/cmd/scc-cc/cc2/cc2.h | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/cmd/scc-cc/cc2/cc2.h b/src/cmd/scc-cc/cc2/cc2.h @@ -195,12 +195,13 @@ struct node { }; struct addr { - char kind; - union { - char reg; - TUINT i; - Symbol *sym; - } u; + char kind; + union { + int reg; + TUINT i; + Symbol *sym; + long off; + } u; }; struct inst {