diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 3d4b0e8fd..0fcd9e9fc 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -232,8 +232,7 @@ struct_defs ; struct_def - : type struct_def_list - {} + : type { current_type = $1; } struct_def_list ; enum_list