parent
69710e4548
commit
d84a3b10b5
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ proc newDocumentor*(filename: AbsoluteFile; cache: IdentCache; conf: ConfigRef,
|
||||||
proc (gen: var RstGenerator; filename, cmd: string; status: int; content: string) =
|
proc (gen: var RstGenerator; filename, cmd: string; status: int; content: string) =
|
||||||
if conf.docCmd == docCmdSkip: return
|
if conf.docCmd == docCmdSkip: return
|
||||||
inc(gen.id)
|
inc(gen.id)
|
||||||
var d = TDocumentor(gen)
|
var d = (ptr TDocumentor)(addr gen)
|
||||||
var outp: AbsoluteFile
|
var outp: AbsoluteFile
|
||||||
if filename.len == 0:
|
if filename.len == 0:
|
||||||
let nameOnly = splitFile(d.filename).name
|
let nameOnly = splitFile(d.filename).name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue