mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 02:40:56 +00:00
Another case for -fassign-function-types
This commit is contained in:
parent
0d3896ca54
commit
38df8b5e40
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -939,7 +939,7 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
|
|||
else if (!ast_compare_type(exprs[0], exprs[1])) {
|
||||
ast_type_to_string(exprs[0], ty1, sizeof(ty1));
|
||||
ast_type_to_string(exprs[1], ty2, sizeof(ty2));
|
||||
if (opts_standard == COMPILER_QCC &&
|
||||
if (OPTS_FLAG(ASSIGN_FUNCTION_TYPES) &&
|
||||
exprs[0]->expression.vtype == TYPE_FUNCTION &&
|
||||
exprs[1]->expression.vtype == TYPE_FUNCTION)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue