]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
correcting an error message
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 23 Nov 2012 11:28:51 +0000 (12:28 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 23 Nov 2012 11:28:51 +0000 (12:28 +0100)
parser.c

index 6708d21a4eaa6539333fe3298348afc42e80bbe7..6e150c106d3fcd233eaedf9999d9aa257f5e0096 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -913,7 +913,7 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
             /* prefix ++ */
             if (exprs[0]->expression.vtype != TYPE_FLOAT) {
                 ast_type_to_string(exprs[0], ty1, sizeof(ty1));
-                parseerror(parser, "invalid type for prefix increment: %s", ty1);
+                parseerror(parser, "invalid type for suffix increment: %s", ty1);
                 return false;
             }
             if (op->id == opid3('S','+','+')) {