From 78cc4de9a1d8db66d997e5ba02c6ce208637d70c Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 26 Mar 2014 20:31:18 +0100 Subject: [PATCH] fixes #1025; don't know what this breaks --- compiler/ast.nim | 2 +- compiler/semexprs.nim | 5 ++--- compiler/semtempl.nim | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/compiler/ast.nim b/compiler/ast.nim index dd6f47ed15..0652bd3e7c 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -1043,7 +1043,7 @@ proc discardSons(father: PNode) = father.sons = nil when defined(useNodeIds): - const nodeIdToDebug = 612777 # 612794 + const nodeIdToDebug* = 482228 # 612794 #612840 # 612905 # 614635 # 614637 # 614641 # 423408 #429107 # 430443 # 441048 # 441090 # 441153 diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 70c57b15e3..1fd9075e8e 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -1481,9 +1481,8 @@ proc processQuotations(n: var PNode, op: string, elif n.kind == nkAccQuoted and op == "``": returnQuote n[0] - if not n.isAtom: - for i in 0 ..