summary refs log tree commit diff stats
path: root/compiler/c2nim/cparse.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-12-30 11:03:01 +0100
committerAraq <rumpf_a@web.de>2011-12-30 11:03:01 +0100
commit73919e3082e3bd7905f9a11a33fc54d641a10ac7 (patch)
treeb2b1b3185576aba3e45a84dad49b422cd7c839db /compiler/c2nim/cparse.nim
parenta26433b6ece813d8e14efe4f65b4be3a893c2116 (diff)
downloadNim-73919e3082e3bd7905f9a11a33fc54d641a10ac7.tar.gz
GC stack scanning cares about interior pointers
Diffstat (limited to 'compiler/c2nim/cparse.nim')
-rwxr-xr-xcompiler/c2nim/cparse.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/c2nim/cparse.nim b/compiler/c2nim/cparse.nim
index f8f58347d..7be9d71c1 100755
--- a/compiler/c2nim/cparse.nim
+++ b/compiler/c2nim/cparse.nim
@@ -1594,7 +1594,7 @@ proc parseSwitch(p: var TParser): PNode =
   eat(p, pxCurlyRi)
 
 proc addStmt(sl, a: PNode) = 
-  # merge type sections is possible:
+  # merge type sections if possible:
   if a.kind != nkTypeSection or sonsLen(sl) == 0 or
       lastSon(sl).kind != nkTypeSection:
     addSon(sl, a)