docgen compiles again

This commit is contained in:
Andreas Rumpf
2018-05-11 16:06:36 +02:00
parent 3c4ceea427
commit efc2ce1b7e
2 changed files with 69 additions and 64 deletions

View File

@@ -43,8 +43,8 @@ type
mwUnsupportedField
MsgHandler* = proc (filename: string, line, col: int, msgKind: MsgKind,
arg: string) {.nimcall.} ## what to do in case of an error
FindFileHandler* = proc (filename: string): string {.nimcall.}
arg: string) {.closure.} ## what to do in case of an error
FindFileHandler* = proc (filename: string): string {.closure.}
const
messages: array[MsgKind, string] = [