shithub: scc

Download patch

ref: c2d71566fa9857e9cb87d0508d9b75f7f5fe2c94
parent: 430ab4eac5f50feafdde18e19e8f5658383633d7
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Dec 2 09:31:19 EST 2016

Revert "[cc2] Fix the order of elements of decl"

This reverts commit 821f4c28e2e9ae7404e87b9e04047b5273dfda1b.

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