Fixed bit-field initializers bug
authorceriel <none@none>
Thu, 21 Jan 1993 11:00:51 +0000 (11:00 +0000)
committerceriel <none@none>
Thu, 21 Jan 1993 11:00:51 +0000 (11:00 +0000)
lang/cem/cemcom.ansi/ival.g

index c741445..05b2c42 100644 (file)
@@ -200,11 +200,9 @@ next_field(sd, p)
 {
        if (sd->sd_sdef)
                p->bytes_upto_here += zero_bytes(sd);
-       if (p->last_offset != sd->sd_offset) {
-               p->bytes_upto_here +=
-                       size_of_type(sd->sd_type, "selector");
-               p->last_offset = sd->sd_offset;
-       }
+       p->bytes_upto_here +=
+               size_of_type(sd->sd_type, "selector");
+       p->last_offset = sd->sd_offset;
        return sd->sd_sdef;
 }