mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-01 13:29:32 +00:00
Explicitly set disp for every array element.
This is needed to properly deal with arrays of structures with unnamed bit-fields at the end.
This commit is contained in:
parent
4a8b5b25c7
commit
c58d84689a
@ -2546,8 +2546,8 @@ var
|
||||
maxDisp := disp;
|
||||
end; {if}
|
||||
end; {if}
|
||||
disp := newDisp;
|
||||
end; {if}
|
||||
disp := startingDisp + count * ktp^.size;
|
||||
InitializeTerm(ktp, 0, 0, false, hasNestedDesignator);
|
||||
if disp > maxDisp then
|
||||
maxDisp := disp;
|
||||
|
Loading…
Reference in New Issue
Block a user