From 3d838849daa7183a243feb32d786a3740f7f3d0d Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 6 Mar 2002 07:56:33 +0000 Subject: [PATCH] Fixed an error in struct assignment git-svn-id: svn://svn.cc65.org/cc65/trunk@1169 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/expr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cc65/expr.c b/src/cc65/expr.c index f0bc0d8d9..62785b653 100644 --- a/src/cc65/expr.c +++ b/src/cc65/expr.c @@ -3016,9 +3016,6 @@ static void Assignment (ExprDesc* lval) if (k) { /* Get the address */ exprhs (0, 0, &lval2); - } else { - /* We need an lvalue */ - Error ("Invalid lvalue in assignment"); } /* Push the address (or whatever is in ax in case of errors) */ -- 2.39.5