scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 53ec588a4d2b526910a7926508bbdd9f70517c13
parent 8a633ce7e10c62a1ad9a6641d138ff261b440f2d
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 26 Jan 2016 19:06:26 +0100

[cc2] Initialize the align of strings

Diffstat:
Mcc2/parser.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cc2/parser.c b/cc2/parser.c @@ -202,6 +202,7 @@ constant(char *token, union tokenop u) np->op = OSTRING; np->type.flags = STRF; np->type.size = strlen(token); + np->type.align = int8type.align; np->u.s = xstrdup(token); } else { np->op = OCONST;