fix #13491 #17279 runnableExamples now don't get lost in translation (#17282)

* fix #13491 runnableExamples rendering
* fix a runnableExamples thanks to this bugfix
This commit is contained in:
Timothee Cour 2021-03-08 22:09:24 -08:00 • committed by GitHub
commit d161d27cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 70 additions and 27 deletions

View file

@ -1647,7 +1647,7 @@ proc renderTree*(n: PNode, renderFlags: TRenderFlags = {}): string =
proc `$`*(n: PNode): string = n.renderTree
proc renderModule*(n: PNode, infile, outfile: string,
proc renderModule*(n: PNode, outfile: string,
renderFlags: TRenderFlags = {};
fid = FileIndex(-1);
conf: ConfigRef = nil) =