When a bit-field is used within an lvalue expression but isn't what's being assigned to, don't erroneously assign to the bit-field instead.
This fixes the compca04.c test case.
This commit is contained in:
parent
c788052b99
commit
78493936bc
|
@ -2256,6 +2256,7 @@ var
|
|||
|
||||
{load the address of the item pointed to by the pointer}
|
||||
GenerateCode(tree^.left);
|
||||
isBitField := false;
|
||||
end {else if}
|
||||
else if tree^.token.kind = dotch then begin
|
||||
|
||||
|
|
Loading…
Reference in New Issue