[hackers] [scc] [cc2] Fix the order of elements of decl || Roberto E. Vargas Caballero
commit 821f4c28e2e9ae7404e87b9e04047b5273dfda1b
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Nov 30 14:11:48 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Nov 30 14:11:48 2016 +0100
[cc2] Fix the order of elements of decl
The aligment and the size were reversed parsing
the IR from cc1.
diff --git a/cc2/parser.c b/cc2/parser.c
index b9847eb..34921c3 100644
--- a/cc2/parser.c
+++ b/cc2/parser.c
_AT_@ -500,8 +500,8 @@ aggregate(void)
Type *tp;
Symbol *sym;
- align = pop();
size = pop();
+ align = pop();
name = pop();
tp = pop();
Received on Wed Nov 30 2016 - 14:12:51 CET
This archive was generated by hypermail 2.3.0
: Wed Nov 30 2016 - 14:24:17 CET