Remove quite a bit of the old parser representation logic.

This commit is contained in:
Dave Halter committed 2014-11-23 19:26:30 +01:00
1 parent 0f21d38e2c
commit 9b54541cae
4 files changed
+9 -236

No files matched your search

+2 -1
View File
@@ -199,7 +199,8 @@ def search_call_signatures(user_stmt, position):
# Now remove the part after the call. Including the array from the
# statement.
stmt_el = call
while isinstance(stmt_el, pr.StatementElement):
# TODO REMOVE this? or change?
while False and isinstance(stmt_el, pr.StatementElement):
if stmt_el.next == arr:
stmt_el.next = None
break