correcting an error message

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-23 12:28:51 +01:00
parent f22f1af891
commit 1223e04e05

View file

@ -913,7 +913,7 @@ static bool parser_sy_pop(parser_t *parser, shunt *sy)
/* prefix ++ */ /* prefix ++ */
if (exprs[0]->expression.vtype != TYPE_FLOAT) { if (exprs[0]->expression.vtype != TYPE_FLOAT) {
ast_type_to_string(exprs[0], ty1, sizeof(ty1)); 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; return false;
} }
if (op->id == opid3('S','+','+')) { if (op->id == opid3('S','+','+')) {