Fix parsing error for compound literals
This commit is contained in:
1 parent
59fb7b020a
commit
a22c6d6c0c
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user