diff options
| author | gingerBill <bill@gingerbill.org> | 2019-10-26 14:43:06 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-10-26 14:43:06 +0100 |
| commit | 14e8b299b73c87d5c48e73add91d7a427d554d75 (patch) | |
| tree | 03a95a71c5d904fdde0964847e5f49fe0ad77a17 /src/parser.hpp | |
| parent | c7cb754514110d7d245ee2508fb8ccae7e24a420 (diff) | |
Fix slice and dynamic array lengths determined from ranged compound literals
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 2 |
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; }) \ |