From b25865ea14c8fd95c9b8868e433941d97a9ab694 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 17 Nov 2007 17:49:54 +0000 Subject: [PATCH] Fix r463. [r18455] --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index 7212c85..4c4208c 100644 --- a/parser.c +++ b/parser.c @@ -3202,7 +3202,7 @@ static void semantic_binexpr_assign(binary_expression_t *expression) type_t *type_left = left->datatype; if (type_left->type == TYPE_ARRAY) { - parse_error_expected("Cannot assign to arrays."); + parse_error("Cannot assign to arrays."); } else if (type_left != NULL) { semantic_assign(type_left, &expression->right, "assignment"); } -- 2.20.1