diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index cd8e2b0c8..2ea5f58cc 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -463,7 +463,7 @@ struct_specifier $$ = make_spec (build_struct ($1, $2, symtab, 0)->type, 0, 0); } - | STRUCT tag ';' + | STRUCT tag { $$ = make_spec (find_struct ($1, $2, 0)->type, 0, 0); }