X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=parser.c;h=d835a98cc326e279aad509b570b1928d10e8a569;hp=f9793471f94f93bc4314c3be5f9d3ea88dd221a8;hb=17318af62fa6ed5c5b48652150740c9ea241a536;hpb=b39a748984064f4eea79a082caa1fe1151f20622 diff --git a/parser.c b/parser.c index f979347..d835a98 100644 --- a/parser.c +++ b/parser.c @@ -949,7 +949,7 @@ static bool parser_sy_apply_operator(parser_t *parser, shunt *sy) if (exprs[1]->vtype != TYPE_FLOAT) { ast_type_to_string(exprs[0], ty1, sizeof(ty1)); ast_type_to_string(exprs[1], ty2, sizeof(ty2)); - compile_error(ctx, "invalid types used in expression: cannot divide tyeps %s and %s", ty1, ty2); + compile_error(ctx, "invalid types used in expression: cannot divide types %s and %s", ty1, ty2); return false; } if (exprs[0]->vtype == TYPE_FLOAT) { @@ -980,7 +980,7 @@ static bool parser_sy_apply_operator(parser_t *parser, shunt *sy) { ast_type_to_string(exprs[0], ty1, sizeof(ty1)); ast_type_to_string(exprs[1], ty2, sizeof(ty2)); - compile_error(ctx, "invalid types used in expression: cannot divide tyeps %s and %s", ty1, ty2); + compile_error(ctx, "invalid types used in expression: cannot divide types %s and %s", ty1, ty2); return false; } break;