From 1db26eea8611344c714e90cd6535bed08d4f6843 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 9 Jul 2002 19:00:52 +0000 Subject: [PATCH] can't call pointer_type untill after the types are chained --- tools/qfcc/source/type.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qfcc/source/type.c b/tools/qfcc/source/type.c index 9103e5da0..7ada106a8 100644 --- a/tools/qfcc/source/type.c +++ b/tools/qfcc/source/type.c @@ -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