diff options
Diffstat (limited to 'compiler/evals.nim')
-rwxr-xr-x | compiler/evals.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/evals.nim b/compiler/evals.nim index d4602aa24..311b01b84 100755 --- a/compiler/evals.nim +++ b/compiler/evals.nim @@ -1213,6 +1213,8 @@ proc evalAux(c: PEvalContext, n: PNode, flags: TEvalFlags): PNode = of nkMetaNode: result = copyTree(n.sons[0]) result.typ = n.typ + of nkPragmaBlock: + result = evalAux(c, n.sons[1], flags) of nkIdentDefs, nkCast, nkYieldStmt, nkAsmStmt, nkForStmt, nkPragmaExpr, nkLambda, nkContinueStmt, nkIdent: result = raiseCannotEval(c, n.info) |