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:
Stephen Heumann 2015-12-30 23:03:49 -06:00
parent c788052b99
commit 78493936bc
1 changed files with 1 additions and 0 deletions

View File

@ -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