mirror of
https://github.com/cc65/cc65.git
synced 2024-07-09 16:29:09 +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:
parent
92644b226c
commit
3d838849da
@ -3016,9 +3016,6 @@ static void Assignment (ExprDesc* lval)
|
|||||||
if (k) {
|
if (k) {
|
||||||
/* Get the address */
|
/* Get the address */
|
||||||
exprhs (0, 0, &lval2);
|
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) */
|
/* Push the address (or whatever is in ax in case of errors) */
|
||||||
|
Loading…
Reference in New Issue
Block a user