Author: zturner Date: Mon Jan 11 17:10:32 2016 New Revision: 257409 URL: http://llvm.org/viewvc/llvm-project?rev=257409&view=rev Log: Don't define Bytes and String to be the same number on Py2.
This is causing issues with case labels having the same value. Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h?rev=257409&r1=257408&r2=257409&view=diff ============================================================================== --- lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h (original) +++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h Mon Jan 11 17:10:32 2016 @@ -74,11 +74,7 @@ enum class PyObjectType Dictionary, List, String, -#if PY_MAJOR_VERSION >= 3 Bytes, -#else - Bytes = String, -#endif Module, Callable, Tuple, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits