Update modules

This commit is contained in:
Gregory Lirent 2022-08-26 18:07:34 +03:00
parent f1fc17f816
commit 5f59454871
3 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 7d84d2968a942a10626471f01fc5d33ae8a97a9a Subproject commit d079bb1a615fd15bd63353e0050765a96a376924

View File

@ -126,7 +126,7 @@ static bool libcjsonp_builtin_parse_map(vtype_map* x, reader_t* s) {
switch (s->cur) { switch (s->cur) {
case ',': 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); next_sign(s);
break; break;
case '}': case '}':
@ -156,7 +156,7 @@ static bool libcjsonp_builtin_parse_list(vtype_list* x, reader_t* s) {
switch (s->cur) { switch (s->cur) {
case ',': 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); next_sign(s);
break; break;
case ']': case ']':

View File

@ -99,7 +99,7 @@ static const char* libcjsonp_builtin_parse_map(vtype_map* x, const char* s) {
} else goto bad_; } else goto bad_;
if (*s == ',' || *s == '}') { 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++ == '}') if (*s++ == '}')
return s; return s;
@ -132,7 +132,7 @@ static const char* libcjsonp_builtin_parse_list(vtype_list* x, const char* s) {
} else return 0; } else return 0;
if (*s == ',' || *s == ']') { 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++ == ']') if (*s++ == ']')
return s; return s;