pos_enum_comma
Category: Positioning options Type: multiple (ignore break force lead trail join lead_break lead_force trail_break trail_force) Default: ignore
The position of the comma in enum entries.
raw CPP code | pos_enum_comma=ignore | pos_enum_comma=break | pos_enum_comma=force | pos_enum_comma=lead | pos_enum_comma=trail | pos_enum_comma=join | pos_enum_comma=lead_break | pos_enum_comma=lead_force | pos_enum_comma=trail_break | pos_enum_comma=trail_force |
---|---|---|---|---|---|---|---|---|---|---|
enum{A,B,C=-2,D,E}; | enum {A,B,C=-2,D,E}; | enum {A, B, C=-2, D, E}; | enum {A, B, C=-2, D, E}; | enum {A,B,C=-2,D,E}; | enum {A,B,C=-2,D,E}; | enum {A,B,C=-2,D,E}; | enum {A ,B ,C=-2 ,D ,E}; | enum {A ,B ,C=-2 ,D ,E}; | enum {A, B, C=-2, D, E}; | enum {A, B, C=-2, D, E}; |
Not the best code for this option? See how to improve the .uds file used to generate these examples.