summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-12-17 17:30:40 +0100
committerAraq <rumpf_a@web.de>2014-12-17 17:30:40 +0100
commitb94d2247c833cf5ba6192b8914bad63793f0bbbb (patch)
tree964ed69e3f604ff49caa319a7aeb1fab3a314ea1 /compiler
parentc91cf3068f7d215ca8aaafed505b78f389a2885e (diff)
downloadNim-b94d2247c833cf5ba6192b8914bad63793f0bbbb.tar.gz
fixes #1388
Diffstat (limited to 'compiler')
-rw-r--r--compiler/renderer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/renderer.nim b/compiler/renderer.nim
index b0d328f9e..3f7b0e657 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) =