136
136
if alo == ahi or blo == bhi:
138
140
for apos, bpos in unique_lcs(a[alo:ahi], b[blo:bhi]):
139
141
# recurse between lines which are unique in each file and match
142
recurse_matches(a, b, apos, bpos, answer, maxrecursion - 1)
146
recurse_matches(a, b, apos, bpos, answer, maxrecursion - 1)
143
149
answer.append((apos, bpos))
144
150
if len(answer) > oldlength:
145
151
# find matches between the last match and the end