mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
Fix a small typo
This commit is contained in:
parent
ca52ecc20a
commit
08551eefba
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -848,7 +848,7 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
|
|||
if (exprs[1]->expression.vtype != exprs[2]->expression.vtype) {
|
||||
ast_type_to_string(exprs[1], ty1, sizeof(ty1));
|
||||
ast_type_to_string(exprs[2], ty2, sizeof(ty2));
|
||||
parseerror(parser, "iperands of ternary expression must have the same type, got %s and %s", ty1, ty2);
|
||||
parseerror(parser, "operands of ternary expression must have the same type, got %s and %s", ty1, ty2);
|
||||
return false;
|
||||
}
|
||||
if (CanConstFold1(exprs[0]))
|
||||
|
|
Loading…
Reference in a new issue