scc

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

commit 821f4c28e2e9ae7404e87b9e04047b5273dfda1b
parent f66f04630a180ff03a8480c6a59597a1231975a6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 30 Nov 2016 14:11:48 +0100

[cc2] Fix the order of elements of decl

The aligment and the size were reversed parsing
the IR from cc1.

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

diff --git a/cc2/parser.c b/cc2/parser.c @@ -500,8 +500,8 @@ aggregate(void) Type *tp; Symbol *sym; - align = pop(); size = pop(); + align = pop(); name = pop(); tp = pop();