mie: add comma separtor between func arg text output

This commit is contained in:
2025-04-22 21:32:12 +01:00
parent 07d16e7454
commit 2673f29447

View File

@@ -377,7 +377,7 @@ static b_status write_func_definition(
struct mie_value, it.entry, v_entry);
if (i > 0) {
puts(", ");
write_string(converter, ", ");
}
mie_type_to_string(func->f_ret, type_name, sizeof type_name);
@@ -385,6 +385,7 @@ static b_status write_func_definition(
write_string_f(
converter, "%s %%%s", type_name,
arg->arg_base.v_name.n_str);
i++;
}
write_string_f(converter, ")");