Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 21, 2020
1 parent d1b03a7 commit b8c921f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tools/kochdocs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ proc getDocList(): seq[string] =
doAssert a notin t2, a
t2.incl a

when false:
const goodSystem = """
# don't ignore these even though in lib/system
const goodSystem = """
lib/system/io.nim
lib/system/nimscript.nim
lib/system/assertions.nim
Expand All @@ -205,7 +205,7 @@ lib/system/dollars.nim
lib/system/widestrs.nim
""".splitWhitespace()

for a in walkDirRec("lib"):
for a in walkDirRec("lib"):
if a.splitFile.ext != ".nim": continue
if a.isRelativeTo("lib/deprecated"):
if a notin @["lib/deprecated/pure/ospaths.nim"]: # REMOVE
Expand Down Expand Up @@ -246,6 +246,8 @@ compiler/suggest.nim
compiler/packagehandling.nim
compiler/hlo.nim
compiler/rodimpl.nim
compiler/vmops.nim
compiler/vmhooks.nim
""".splitWhitespace()

# not include files but doesn't work; not included/imported anywhere; dead code?
Expand All @@ -255,12 +257,16 @@ compiler/canonicalizer.nim
compiler/forloops.nim
""".splitWhitespace()

# these cause mysterious errors even though they're imported
# these cause errors even though they're imported (some of which are mysterious)
const bad2 = """
compiler/closureiters.nim
compiler/tccgen.nim
compiler/lambdalifting.nim
compiler/layouter.nim
compiler/evalffi.nim
compiler/nimfix/nimfix.nim
compiler/plugins/active.nim
compiler/plugins/itersgen.nim
""".splitWhitespace()

for a in walkDirRec("compiler"):
Expand Down

0 comments on commit b8c921f

Please sign in to comment.