Skip to content

format code issue: break in macro, #13761

Open
@heartacker

Description

@heartacker

AlignArrayOfStructures: Left

ORIGIN:

const struct reg aa[] __CMN_RODATA = {
    { abc,    0, format, code },
    { abcd2,  0, format, code },
    { aaaa,   0, why,    why  },
    { whyyyy, 0, why,    why  },
};

add macro:


const struct reg aa[] __CMN_RODATA = {
#if A
    { abc,   0, format, code },
    { abcd2, 0, format, code },
#else
    { aaaa, 0, why, why },
    { whyyyy, 0, why, why },
#endif
};

if 0:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions