From: Wolfgang (Blub) Bumiller Date: Fri, 23 Nov 2012 11:28:51 +0000 (+0100) Subject: correcting an error message X-Git-Tag: 0.1.9~316 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1223e04e05353cdb4c47660fd9d0755da364c1ed;p=xonotic%2Fgmqcc.git correcting an error message --- diff --git a/parser.c b/parser.c index 6708d21..6e150c1 100644 --- 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','+','+')) {