this one can be reached - make it a little more helpful

This commit is contained in:
Wolfgang Bumiller 2013-08-31 10:55:03 +02:00
parent 4600f1d7ff
commit 2ff9adecb2

View file

@ -1899,7 +1899,7 @@ static ast_expression* parse_expression_leave(parser_t *parser, bool stopatcomma
parser->lex->flags.noops = true;
if (vec_size(sy.out) != 1) {
parseerror(parser, "expression with not 1 but %lu output values...", (unsigned long) vec_size(sy.out));
parseerror(parser, "expression expected");
expr = NULL;
} else
expr = sy.out[0].out;