|
|
@ -79,6 +79,8 @@ static int rtpp_is_dict_list(rtpp_pos *a) { |
|
|
if (!skip_char(&list, '[')) |
|
|
if (!skip_char(&list, '[')) |
|
|
return 0; |
|
|
return 0; |
|
|
// check contents |
|
|
// check contents |
|
|
|
|
|
if (list.len == 0) |
|
|
|
|
|
list = a->remainder; // could be just leading spaces? |
|
|
if (list.len == 0) |
|
|
if (list.len == 0) |
|
|
return 0; // unexpected end of string |
|
|
return 0; // unexpected end of string |
|
|
if (list.s[0] == '[') |
|
|
if (list.s[0] == '[') |
|
|
|