compiler refactoring; use typesafe path handing; docgen: render symbols between modules
This commit is contained in:
parent
b5730ec01f
commit
86556ebfdb
45 changed files with 816 additions and 504 deletions
|
|
@ -13,7 +13,7 @@ proc opSlurp*(file: string, info: TLineInfo, module: PSym; conf: ConfigRef): str
|
|||
try:
|
||||
var filename = parentDir(toFullPath(conf, info)) / file
|
||||
if not fileExists(filename):
|
||||
filename = findFile(conf, file)
|
||||
filename = findFile(conf, file).string
|
||||
result = readFile(filename)
|
||||
# we produce a fake include statement for every slurped filename, so that
|
||||
# the module dependencies are accurate:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue