summary refs log tree commit diff stats
path: root/compiler/semexprs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-12-21 10:03:33 +0100
committerAraq <rumpf_a@web.de>2017-12-21 10:03:33 +0100
commitee67a67ac450968fc3d753005fe7362ac0414a10 (patch)
tree329b948726df61622d3785ac0da3e760fde954d5 /compiler/semexprs.nim
parent2775cda6e1eaa9e64ccf1f5cd48e2447e059f2b9 (diff)
downloadNim-ee67a67ac450968fc3d753005fe7362ac0414a10.tar.gz
first steps in adding template/macro calls to stack traces
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r--compiler/semexprs.nim1
1 files changed, 1 insertions, 0 deletions
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}))