diff options
author | Araq <rumpf_a@web.de> | 2017-12-21 10:03:33 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-12-21 10:03:33 +0100 |
commit | ee67a67ac450968fc3d753005fe7362ac0414a10 (patch) | |
tree | 329b948726df61622d3785ac0da3e760fde954d5 /compiler/semexprs.nim | |
parent | 2775cda6e1eaa9e64ccf1f5cd48e2447e059f2b9 (diff) | |
download | Nim-ee67a67ac450968fc3d753005fe7362ac0414a10.tar.gz |
first steps in adding template/macro calls to stack traces
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r-- | compiler/semexprs.nim | 1 |
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})) |