On 14-07-22 06:17, Giovanni Mascellani wrote:
Hi,
Il 01/07/22 23:24, Francisco Casas ha scritto:
+ vkd3d_string_buffer_printf(buffer, "["); + for (i = 0; i < deref->path_len; ++i) + { + vkd3d_string_buffer_printf(buffer, "["); + dump_src(buffer, &deref->path[i]); + vkd3d_string_buffer_printf(buffer, "]"); + } + vkd3d_string_buffer_printf(buffer, "]");
I guess the double brackets are to distinguish this from the usual register offset subscripting?
Yep, I also think it looks nice with paths larger than 1, like in:
aaa[[0x562ff769ebd0][0x562ff769ec60]].x
or
bbb[[@24][@25][@26]]
But this is subjective.
Giovanni.