diff options
author | LemonBoy <thatlemon@gmail.com> | 2019-01-29 11:52:19 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-30 10:01:59 +0100 |
commit | 49710b9d14291389529cdc627c21a25a99ff238d (patch) | |
tree | 99e4ddd8f322293b642e4246a8ff090dd136c702 | |
parent | 9031c8fb0faeae35748fa311c22d7b0ee817d356 (diff) | |
download | Nim-49710b9d14291389529cdc627c21a25a99ff238d.tar.gz |
The `file` directive is relative to the file it is in
-rw-r--r-- | compiler/docgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 90b6d0426..b70561a1d 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -246,7 +246,7 @@ proc genComment(d: PDoc, n: PNode): string = result = "" var dummyHasToc: bool if n.comment.len > 0: - renderRstToOut(d[], parseRst(n.comment, toFilename(d.conf, n.info), + renderRstToOut(d[], parseRst(n.comment, toFullPath(d.conf, n.info), toLinenumber(n.info), toColumn(n.info), dummyHasToc, d.options, d.conf), result) |