]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Fix a small typo
authorWolfgang (Blub) Bumiller <blub@speed.at>
Mon, 26 Nov 2012 13:05:31 +0000 (14:05 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Mon, 26 Nov 2012 13:05:31 +0000 (14:05 +0100)
parser.c

index bb41c7083412bcbac7839c80c538be25f9a13ffd..c771dd6d6fb3d5223b663c3a854cd28d38771db4 100644 (file)
--- a/parser.c
+++ b/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]))