summary refs log tree commit diff stats
path: root/rod/transf.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-03-27 00:33:20 +0100
committerAraq <rumpf_a@web.de>2011-03-27 00:33:20 +0100
commitdc669155e39007f1b584eef247dff90523f836bf (patch)
tree5233362a6af2ac7232159ffebb7bfc19ea27026b /rod/transf.nim
parent45f8d31c4718fb20498b16a621f3d14b3056b5cc (diff)
downloadNim-dc669155e39007f1b584eef247dff90523f836bf.tar.gz
some little bugfixes
Diffstat (limited to 'rod/transf.nim')
-rwxr-xr-xrod/transf.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/transf.nim b/rod/transf.nim
index c7c4e3db8..d2e6f8c69 100755
--- a/rod/transf.nim
+++ b/rod/transf.nim
@@ -669,7 +669,7 @@ proc transform(c: PTransf, n: PNode): PTransNode =
     result = transformFor(c, n)
   of nkCaseStmt: 
     result = transformCase(c, n)
-  of nkProcDef, nkMethodDef, nkIteratorDef, nkMacroDef: 
+  of nkProcDef, nkMethodDef, nkIteratorDef, nkMacroDef, nkConverterDef: 
     if n.sons[genericParamsPos].kind == nkEmpty: 
       n.sons[codePos] = PNode(transform(c, n.sons[codePos]))
       if n.kind == nkMethodDef: methodDef(n.sons[namePos].sym)