Enum definitions are generated without a trailing comma (-pedantic).

Change-Id: I07cd28e5915a0526614db85f894f27a5bd27f3bb
Tested: on Windows.
This commit is contained in:
Wouter van Oortmerssen
2014-07-28 17:03:08 -07:00
parent 15b10dd9f3
commit 7057033116
2 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ namespace Example {
enum {
Color_Red = 1,
Color_Green = 2,
Color_Blue = 8,
Color_Blue = 8
};
inline const char **EnumNamesColor() {
@@ -23,7 +23,7 @@ inline const char *EnumNameColor(int e) { return EnumNamesColor()[e - Color_Red]
enum {
Any_NONE = 0,
Any_Monster = 1,
Any_Monster = 1
};
inline const char **EnumNamesAny() {