summary refs log tree commit diff stats
path: root/compiler/sem.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-05-02 00:36:06 +0200
committerAraq <rumpf_a@web.de>2013-05-02 00:36:06 +0200
commit1dd01e5891804c703019ed26d0ccd922a3bf810b (patch)
tree37754a783ce3bcf52a97731b1f2ecbcb1a8444a5 /compiler/sem.nim
parentc75aa98706eabc6df6a0900bce52a52ea23ab671 (diff)
downloadNim-1dd01e5891804c703019ed26d0ccd922a3bf810b.tar.gz
revert new scope for 'if'
Diffstat (limited to 'compiler/sem.nim')
-rw-r--r--compiler/sem.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim
index 0e4b65d9f..791ca2793 100644
--- a/compiler/sem.nim
+++ b/compiler/sem.nim
@@ -100,7 +100,7 @@ proc newSymS(kind: TSymKind, n: PNode, c: PContext): PSym =
 
 proc newSymG*(kind: TSymKind, n: PNode, c: PContext): PSym =
   # like newSymS, but considers gensym'ed symbols
-  if n.kind == nkSym: 
+  if n.kind == nkSym:
     result = n.sym
     InternalAssert sfGenSym in result.flags
     InternalAssert result.kind == kind