From ee67a67ac450968fc3d753005fe7362ac0414a10 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 21 Dec 2017 10:03:33 +0100 Subject: first steps in adding template/macro calls to stack traces --- compiler/semexprs.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/semexprs.nim') diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 7867c7e36..51a088a9e 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -2380,6 +2380,7 @@ proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}): PNode = if n.len != 1 and n.len != 2: illFormedAst(n) for i in 0 ..< n.len: n.sons[i] = semExpr(c, n.sons[i]) + of nkComesFrom: discard "ignore the comes from information for now" else: localError(n.info, errInvalidExpressionX, renderTree(n, {renderNoComments})) -- cgit 1.4.1-2-gfad0