compiler/libec: Fixed improper usage of GCC compound statement expressions that would...
[sdk] / compiler / bootstrap / libec / bootstrap / pass3.c
index ba51e09..209a183 100644 (file)
@@ -1407,6 +1407,8 @@ extern void FreeType(struct Type * type);
 
 static void InstDeclPassStatement(struct Statement * stmt);
 
+static void InstDeclPassInitializer(struct Initializer * init);
+
 static void InstDeclPassExpression(struct Expression * exp)
 {
 switch(exp->type)
@@ -1517,6 +1519,12 @@ case 36:
 InstDeclPassExpression(exp->vaArg.exp);
 break;
 }
+case 35:
+{
+InstDeclPassTypeName(exp->initializer.typeName, 0x0);
+InstDeclPassInitializer(exp->initializer.initializer);
+break;
+}
 }
 }