removed a little ordering bug, which was just a problem with gotos

This commit is contained in:
David Halter
2012-07-13 15:51:47 +02:00
parent 8b8b0f920d
commit 19579cf263
2 changed files with 1 additions and 5 deletions

View File

@@ -194,10 +194,7 @@ def prepare_goto(source, row, column, source_path, is_like_search):
path_tuple = ()
raise NotFoundError(scope, path_tuple)
else:
if is_like_search:
stmt.line_nr = row
else:
stmt.line_nr = row + 1
stmt.line_nr = row
stmt.indent = column
stmt.parent = scope
scopes = evaluate.follow_statement(stmt)