Support for named indices for array-like compound literals {3 = a, 1 = b}

This commit is contained in:
gingerBill
2019-10-20 13:11:28 +01:00
parent b4951c9b39
commit f12ded54f2
4 changed files with 213 additions and 63 deletions
+1
View File
@@ -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; }) \