Update modules
This commit is contained in:
+1
-1
Submodule modules/libcdsb updated: 7d84d2968a...d079bb1a61
+2
-2
@@ -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 ']':
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user