mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +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) {
|
||||
/* 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) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user