Group struct field definitions cc4m_logo_inline

TitleAll fields of a struct shall be defined in a single, contiguous block of code.
PriorityStrongly recommended
Severity level6 when the code is meant for code generation, otherwise 9
DescriptionNo fields shall be added to a struct after using it.
RationaleLines of code or functions using the struct might assume that all fields are already there, resulting in an error if the field is not there.


s = struct("f", 2, "g", 3);

s.h = 'new field';

Instead use:

s = struct("f", 2, "g", 3, "h", 'new field');