summaryrefslogtreecommitdiff
path: root/monkey/monkey.py
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-02-04 19:56:30 +0100
committerAleš Smodiš <aless@guru.si>2015-08-11 14:26:01 +0200
commit92066f4993343037c79c93ecbedd2fdb22011320 (patch)
tree561d6f2a3b1d2aabb805cca3d1fc19ed2bb9a24f /monkey/monkey.py
parent001739a6a93cceeb29f81ea2281ade0bef1a8645 (diff)
Clean up monkey.edits.get_paths
Diffstat (limited to 'monkey/monkey.py')
-rwxr-xr-xmonkey/monkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/monkey.py b/monkey/monkey.py
index 962f25d..07d6b0a 100755
--- a/monkey/monkey.py
+++ b/monkey/monkey.py
@@ -59,7 +59,7 @@ def fix(name, code, edits, aux_code='', timeout=30, debug=False):
yield (new_lines, new_rules, new_step, new_cost)
- # Add a line to the current rule.
+ # Add a line at the end of the current rule.
for after, cost in inserts.items():
mapping = map_vars([], after, [], rule_tokens)
after_real = [t if t.type != 'VARIABLE' else Token('VARIABLE', mapping[t.val]) for t in after]