1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00

Fixed an error in struct assignment

git-svn-id: svn://svn.cc65.org/cc65/trunk@1169 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-03-06 07:56:33 +00:00
parent 92644b226c
commit 3d838849da

View File

@ -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) */