mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 22:13:17 +00:00
Fix parsing error for compound literals
This commit is contained in:
@@ -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