aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-10-26 14:43:06 +0100
committergingerBill <bill@gingerbill.org>2019-10-26 14:43:06 +0100
commit14e8b299b73c87d5c48e73add91d7a427d554d75 (patch)
tree03a95a71c5d904fdde0964847e5f49fe0ad77a17 /src/parser.hpp
parentc7cb754514110d7d245ee2508fb8ccae7e24a420 (diff)
Fix slice and dynamic array lengths determined from ranged compound literals
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 83df7a9d6..f07f3ce0d 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -250,7 +250,7 @@ enum StmtAllowFlag {
Ast *type; \
Array<Ast *> elems; \
Token open, close; \
- i64 max_index; \
+ i64 max_count; \
}) \
AST_KIND(_ExprBegin, "", bool) \
AST_KIND(BadExpr, "bad expression", struct { Token begin, end; }) \