diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 8b288b753..94450523b 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -309,6 +309,7 @@ external_def | optional_specifiers ';' { } | optional_specifiers function_params { + $$ = $1; // copy spec bits and storage $$.type = parse_params ($1.type, $2), st_global, 0; $$.type = find_type ($$.type); }