mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-21 00:46:47 +00:00
Support for named indices for array-like compound literals {3 = a, 1 = b}
This commit is contained in:
@@ -249,6 +249,7 @@ enum StmtAllowFlag {
|
||||
Ast *type; \
|
||||
Array<Ast *> elems; \
|
||||
Token open, close; \
|
||||
i64 max_index; \
|
||||
}) \
|
||||
AST_KIND(_ExprBegin, "", bool) \
|
||||
AST_KIND(BadExpr, "bad expression", struct { Token begin, end; }) \
|
||||
|
||||
Reference in New Issue
Block a user