mod_enum_last_comma
Category: Code modifying options (non-whitespace) Type: multiple (ignore add remove force) Default: ignore
Add or remove the comma after the last value of an enumeration.
raw CPP code | mod_enum_last_comma=ignore | mod_enum_last_comma=add | mod_enum_last_comma=remove | mod_enum_last_comma=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,}; |
Not the best code for this option? See how to improve the .uds file used to generate these examples.