From 5f59454871852afe4ae160fee2774e7d5eb53220 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Fri, 26 Aug 2022 18:07:34 +0300 Subject: [PATCH] Update modules --- modules/libcdsb | 2 +- src/load.c | 4 ++-- src/parse.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/libcdsb b/modules/libcdsb index 7d84d29..d079bb1 160000 --- a/modules/libcdsb +++ b/modules/libcdsb @@ -1 +1 @@ -Subproject commit 7d84d2968a942a10626471f01fc5d33ae8a97a9a +Subproject commit d079bb1a615fd15bd63353e0050765a96a376924 diff --git a/src/load.c b/src/load.c index cc12988..9bf89d6 100644 --- a/src/load.c +++ b/src/load.c @@ -126,7 +126,7 @@ static bool libcjsonp_builtin_parse_map(vtype_map* x, reader_t* s) { switch (s->cur) { case ',': - libcdsb_map_inject(x, &name, VTYPE_STRING, value.value, value.type); + libcdsb_map_inject(x, &name, VTYPE_STRING, value.value, value.type, 0, 0); next_sign(s); break; case '}': @@ -156,7 +156,7 @@ static bool libcjsonp_builtin_parse_list(vtype_list* x, reader_t* s) { switch (s->cur) { case ',': - libcdsb_list_attach(x, -1, value.value, value.type, 1); + libcdsb_list_attach(x, -1, value.value, value.type, 1, 0, 0); next_sign(s); break; case ']': diff --git a/src/parse.c b/src/parse.c index 3b0b938..b16fb76 100644 --- a/src/parse.c +++ b/src/parse.c @@ -99,7 +99,7 @@ static const char* libcjsonp_builtin_parse_map(vtype_map* x, const char* s) { } else goto bad_; if (*s == ',' || *s == '}') { - libcdsb_map_inject(x, &name, VTYPE_STRING, value.value, value.type); + libcdsb_map_inject(x, &name, VTYPE_STRING, value.value, value.type, 0, 0); if (*s++ == '}') return s; @@ -132,7 +132,7 @@ static const char* libcjsonp_builtin_parse_list(vtype_list* x, const char* s) { } else return 0; if (*s == ',' || *s == ']') { - libcdsb_list_attach(x, -1, value.value, value.type, 1); + libcdsb_list_attach(x, -1, value.value, value.type, 1, 0, 0); if (*s++ == ']') return s;