First step of the general rewriter refactor. Added a generic 'detectEnd' function which is expression-pair sensitive. Use it to reimplement closeOpenCallsAndIndexes

This commit is contained in:
Jeremy Ashkenas
2010-08-08 17:37:28 -04:00
parent d286b33601
commit 18d6fd72de
6 changed files with 89 additions and 65 deletions

View File

@@ -6,8 +6,8 @@ x1 = y1 = 20
ok area(x, y, x1, y1) is 100
ok(area(x, y,
x1, y1) is 100)
# ok(area(x, y,
# x1, y1) is 100)
ok(area(
x