diff --git a/compiler/renderer.nim b/compiler/renderer.nim index b0d328f9e2..3f7b0e6578 100644 --- a/compiler/renderer.nim +++ b/compiler/renderer.nim @@ -620,7 +620,7 @@ proc gpattern(g: var TSrcGen, n: PNode) = if longMode(n) or (lsub(n.sons[0]) + g.lineLen > MaxLineLen): incl(c.flags, rfLongMode) gcoms(g) # a good place for comments - gstmts(g, n.sons[0], c) + gstmts(g, n, c) put(g, tkCurlyRi, "}") proc gpragmaBlock(g: var TSrcGen, n: PNode) =