mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
can't call pointer_type untill after the types are chained
This commit is contained in:
parent
2cb6138f2b
commit
1db26eea86
1 changed files with 2 additions and 2 deletions
|
@ -634,8 +634,6 @@ init_types (void)
|
|||
new_struct_field (type, &type_integer, "size", vis_public);
|
||||
new_struct_field (type, &type_string, "name", vis_public);
|
||||
new_struct_field (type, &type_pointer, "symtab", vis_public);
|
||||
|
||||
type_obj_exec_class.parm_types[0] = pointer_type (type_module);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -666,6 +664,8 @@ chain_initial_types (void)
|
|||
chain_type (type_ivar);
|
||||
chain_type (type_module);
|
||||
chain_type (&type_obj_exec_class);
|
||||
|
||||
type_obj_exec_class.parm_types[0] = pointer_type (type_module);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue