because builtin functions now get their params dumped to the debug symbols, @va_list needs to be initialized.

This commit is contained in:
Bill Currie 2007-04-10 09:10:09 +00:00 committed by Jeff Teunissen
parent 48449a972f
commit 4c4281c512

View file

@ -788,6 +788,11 @@ chain_initial_types (void)
chain_type (&type_param);
chain_type (&type_zero);
strct = calloc (sizeof (struct_t), 1);
init_struct (strct, &type_va_list, str_struct, 0);
new_struct_field (strct, &type_integer, "count", vis_public);
new_struct_field (strct, pointer_type (&type_param), "list", vis_public);
if (options.traditional)
return;
@ -811,11 +816,6 @@ chain_initial_types (void)
type_supermsg.parm_types[0] = &type_Super;
chain_type (&type_supermsg);
strct = calloc (sizeof (struct_t), 1);
init_struct (strct, &type_va_list, str_struct, 0);
new_struct_field (strct, &type_integer, "count", vis_public);
new_struct_field (strct, pointer_type (&type_param), "list", vis_public);
strct = get_struct ("obj_module_s", 1);
init_struct (strct, new_type (), str_struct, 0);
new_struct_field (strct, &type_integer, "version", vis_public);