Skip to content

Commit 69ffefe

Browse files
committed
Added TODO
1 parent ddadc27 commit 69ffefe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xtra/DIFF.LUA

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ local function diff_u(fn1,fn2)
2424
local function init()if not u then local k,l=math.max(i-3,1),math.max(j-3,1)u={e=0,l={},o={s=k,l=0},n={s=l,l=0}}
2525
for z=k,i-1 do table.insert(u.l,pfl(" ",get(fn1,f1,z)))u.o.l,u.n.l=u.o.l+1,u.n.l+1 end end end
2626
local k=2 while k<=#m do if m[k].x>m[k-1].x then table.remove(m,k-1)else k=k+1 end end
27+
--TODO: convert to sequences
2728
for _,p in ipairs(m)do
2829
while i<p.x do init()table.insert(u.l,pfl("-",get(fn1,f1,i)))i,u.o.l,u.e=i+1,u.o.l+1,0 end
2930
while j<p.y do init()table.insert(u.l,pfl("+",get(fn2,f2,j)))j,u.n.l,u.e=j+1,u.n.l+1,0 end

0 commit comments

Comments
 (0)