[Lldb-commits] [lldb] r130532 - /lldb/trunk/scripts/Python/modify-python-lldb.py
Johnny Chen
johnny.chen at apple.com
Fri Apr 29 12:19:13 PDT 2011
Author: johnny
Date: Fri Apr 29 14:19:13 2011
New Revision: 130532
URL: http://llvm.org/viewvc/llvm-project?rev=130532&view=rev
Log:
Fix a bug introduced in my previous checkin, where the state was not properly
restored after parsing "SBTarget". Indentation matters in Python. :-)
Modified:
lldb/trunk/scripts/Python/modify-python-lldb.py
Modified: lldb/trunk/scripts/Python/modify-python-lldb.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modify-python-lldb.py?rev=130532&r1=130531&r2=130532&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modify-python-lldb.py (original)
+++ lldb/trunk/scripts/Python/modify-python-lldb.py Fri Apr 29 14:19:13 2011
@@ -124,8 +124,9 @@
if (state & DEFINING_EQUALITY):
print >> new_content, eq_def % (cls, e[cls], e[cls])
print >> new_content, ne_def
- # Next state will be NORMAL.
- state = NORMAL
+
+ # Next state will be NORMAL.
+ state = NORMAL
# Pass the original line of content to the ew_content.
print >> new_content, line
More information about the lldb-commits
mailing list