Fix parsing error for compound literals

This commit is contained in:
Ginger Bill
2017-07-18 19:57:30 +01:00
parent 59fb7b020a
commit a22c6d6c0c

View File

@@ -2597,6 +2597,7 @@ bool is_literal_type(AstNode *node) {
case AstNode_StructType:
case AstNode_DynamicArrayType:
case AstNode_MapType:
case AstNode_CallExpr:
return true;
}
return false;