Contrib/Misc: Allow enumutils_describe.py to better deal with commented-out enum lines

This commit is contained in:
Treeston
2019-07-30 11:42:08 +02:00
parent 00b10c6b34
commit 19d71fb206
3 changed files with 7 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ TC_API_EXPORT EnumText EnumUtils<Races>::ToString(Races value)
case RACE_GNOME: return { "RACE_GNOME", "Gnome", "" };
case RACE_TROLL: return { "RACE_TROLL", "Troll", "" };
case RACE_BLOODELF: return { "RACE_BLOODELF", "Blood Elf", "" };
case RACE_DRAENEI: return { "RACE_DRAENEI", "RACE_DRAENEI", "RACE_FEL_ORC = 12," };
case RACE_DRAENEI: return { "RACE_DRAENEI", "Draenei", "" };
default: throw std::out_of_range("value");
}
}