From 78493936bc41017d9ab959c56d5b4334f322ca12 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Wed, 30 Dec 2015 23:03:49 -0600 Subject: [PATCH] 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. --- Expression.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/Expression.pas b/Expression.pas index ec103b8..1d4134c 100644 --- a/Expression.pas +++ b/Expression.pas @@ -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