From 1223e04e05353cdb4c47660fd9d0755da364c1ed Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 23 Nov 2012 12:28:51 +0100 Subject: [PATCH] correcting an error message --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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','+','+')) { -- 2.39.2