Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#20 supress multiple same link statements

open
nobody
None
5
2003-04-13
2003-04-13
Charles Evans
No

gives a noticable speedup in linking ivib.
diff for unicon.icn:
32a33
> #$define DEBUG
36a38
> global didlink
109a112
> didlink:=table()
213a217
> $ifndef DEBUG # delete temp files
215a220
> $endif
297c302,306
< write(yyout,"link \"",canonize(dir),map(s,"\\","/"),"\"")
---
> s:=canonize(dir)||map(s,"\\","/")
> (/didlink[s]:=s)| return
> write(yyout,"link \"",s,"\"")
> outline+:=1
> outcol:=1
298a308
>

Discussion

  • Charles Evans
    Charles Evans
    2003-04-13

     
    Attachments