refactor: fix indent in decode.c (#16543)

This commit is contained in:
zeertzjq
2021-12-07 10:23:52 +08:00
committed by GitHub
parent 0a3826646f
commit afdd9c19aa

View File

@@ -726,11 +726,11 @@ json_decode_string_cycle_start:
semsg(_("E474: Using comma in place of colon: %.*s"), LENP(p, e)); semsg(_("E474: Using comma in place of colon: %.*s"), LENP(p, e));
goto json_decode_string_fail; goto json_decode_string_fail;
} else if (last_container.special_val == NULL } else if (last_container.special_val == NULL
? (last_container.container.v_type == VAR_DICT ? (last_container.container.v_type == VAR_DICT
? (DICT_LEN(last_container.container.vval.v_dict) == 0) ? (DICT_LEN(last_container.container.vval.v_dict) == 0)
: (tv_list_len(last_container.container.vval.v_list) : (tv_list_len(last_container.container.vval.v_list)
== 0)) == 0))
: (tv_list_len(last_container.special_val) == 0)) { : (tv_list_len(last_container.special_val) == 0)) {
semsg(_("E474: Leading comma: %.*s"), LENP(p, e)); semsg(_("E474: Leading comma: %.*s"), LENP(p, e));
goto json_decode_string_fail; goto json_decode_string_fail;
} }