From: cuz Date: Wed, 6 Mar 2002 07:56:33 +0000 (+0000) Subject: Fixed an error in struct assignment X-Git-Tag: V2.12.0~2444 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d838849daa7183a243feb32d786a3740f7f3d0d;p=cc65 Fixed an error in struct assignment git-svn-id: svn://svn.cc65.org/cc65/trunk@1169 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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) */