aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index 1aff4bc9..62eb7bdf 100644
--- a/parse.c
+++ b/parse.c
@@ -733,6 +733,8 @@ PARSER(parse_array) {
whitespace(&pos);
item_type = expect(ctx, pos-1, &pos, parse_type, "I couldn't parse a type for this array");
whitespace(&pos);
+ match(&pos, ",");
+ whitespace(&pos);
}
for (;;) {
@@ -843,6 +845,8 @@ PARSER(parse_set) {
if (match(&pos, ":"))
return NULL;
whitespace(&pos);
+ match(&pos, ",");
+ whitespace(&pos);
}
for (;;) {