diff options
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
-rw-r--r-- | lldb/scripts/Python/modify-python-lldb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/modify-python-lldb.py b/lldb/scripts/Python/modify-python-lldb.py index 0a0ad24..6f211b2 100644 --- a/lldb/scripts/Python/modify-python-lldb.py +++ b/lldb/scripts/Python/modify-python-lldb.py @@ -92,7 +92,7 @@ linked_list_iter_def = ''' # ================================================== # Iterator for lldb.SBValue treated as a linked list # ================================================== - def linked_list_iter(self, next_item_name, end_of_list): + def linked_list_iter(self, next_item_name, end_of_list_test): """Generator adaptor to support iteration for SBValue as a linked list. linked_list_iter() is a special purpose iterator to treat the SBValue as @@ -136,7 +136,7 @@ linked_list_iter_def = ''' yield item # Prepare for the next iteration. item = item.GetChildMemberWithName(next_item_name) - if end_of_list(item): + if end_of_list_test(item): break except: # Exception occurred. Stop the generator. |