diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index 6741cd150..f9fc31c8a 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -246,7 +246,7 @@ enum type : '.' type { $$ = build_type (1, $2); } | type array_decl { $$ = build_type (0, build_array_type ($1, $2)); } - | type function_decl + | type_name function_decl { current_params = $2; $$ = build_type (0, parse_params ($1, $2));