cgen: generate json array line on uniform indent lvl (#22899)

This commit is contained in:
Turiiya 2024-11-18 10:09:06 +01:00 committed by GitHub
parent 5e9e09f16d
commit 647901d6ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1048,7 +1048,7 @@ fn (mut g Gen) decode_array(utyp ast.Type, value_type ast.Type, fixed_array_size
${fixed_array_idx}
cJSON_ArrayForEach(jsval, root)
{
${s}
${s}
${array_element_assign}
${fixed_array_idx_increment}
}