Python: Escape enum member names if they correspond to a Python keyword (#4772)
* Python: Generated enum member names are now escaped if they correspond to a Python keyword. * Keyword list in Python generator is now a const char* instead of an std::string array. * Moved static functions and keyword list of Python generator into the PythonGenerator class. * Python generator escapes keyword identifiers in all definitions.
This commit is contained in:
parent
ab3b721a54
commit
a96f2bd6ca