diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 57a7349cd..97af77cdb 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -1393,6 +1393,11 @@ ivar_decls ivar_decl : type { $$ = $1; } ivars + | type_name_or_class_name + { + $$ = make_spec ($1->type, 0, 0, 0); + } + ivars {} ; ivars