From 24ed9d560fb7a694c90dc0a378549a06600fcbd0 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 4 Jun 2011 23:55:10 +0200 Subject: threads clean up their heap --- compiler/semexprs.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/semexprs.nim') diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index a7b35f08b..38db93988 100755 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -527,6 +527,8 @@ proc LookUpForDefined(c: PContext, n: PNode, onlyCurrentScope: bool): PSym = GlobalError(n.sons[1].info, errIdentifierExpected, "") of nkAccQuoted: result = lookupForDefined(c, considerAcc(n), onlyCurrentScope) + of nkSym: + result = n.sym else: GlobalError(n.info, errIdentifierExpected, renderTree(n)) result = nil -- cgit 1.4.1-2-gfad0