From e957dc798fe3fe27393182cac4448dc093742880 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 30 Jul 2003 17:59:34 +0000 Subject: [PATCH] oops, initialize type_param properly (D'OH:) --- tools/qfcc/source/type.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/qfcc/source/type.c b/tools/qfcc/source/type.c index 6dae78854..c777bc45c 100644 --- a/tools/qfcc/source/type.c +++ b/tools/qfcc/source/type.c @@ -613,6 +613,18 @@ init_types (void) new_struct_field (strct, &type_integer, "integer_val", vis_public); new_struct_field (strct, &type_uinteger, "uinteger_val", vis_public); + strct = calloc (sizeof (struct_t), 1); + init_struct (strct, &type_param, str_union, 0); + new_struct_field (strct, &type_string, "string_val", vis_public); + new_struct_field (strct, &type_float, "float_val", vis_public); + new_struct_field (strct, &type_vector, "vector_val", vis_public); + new_struct_field (strct, &type_entity, "entity_val", vis_public); + new_struct_field (strct, &type_field, "field_val", vis_public); + new_struct_field (strct, &type_function, "func_val", vis_public); + new_struct_field (strct, &type_pointer, "pointer_val", vis_public); + new_struct_field (strct, &type_integer, "integer_val", vis_public); + new_struct_field (strct, &type_uinteger, "uinteger_val", vis_public); + if (options.traditional) return;