1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00

CHECK we have at most a partial byte

This commit is contained in:
Jesse Rosenstock 2020-06-29 09:00:13 +02:00 committed by greg-king5
parent f4a6d08847
commit fae25bc459

View File

@ -2137,6 +2137,7 @@ NextMember:
ConsumeRCurly ();
/* If we have data from a bit-field left, output it now */
CHECK(SI.ValBits < CHAR_BITS);
OutputBitFieldData (&SI);
/* If there are struct fields left, reserve additional storage */