summary refs log tree commit diff stats
path: root/compiler/ccgexprs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-05-19 02:00:35 +0200
committerAraq <rumpf_a@web.de>2013-05-19 02:00:35 +0200
commit62c80cd570dfcfbb3117e09dea90f4fa10eec33b (patch)
treeb90d79e721f14f3d180e8a8825a03181dcfa3ca6 /compiler/ccgexprs.nim
parent2189e9a60f8db752d9423857bafd3c2d63618546 (diff)
downloadNim-62c80cd570dfcfbb3117e09dea90f4fa10eec33b.tar.gz
fixes #439
Diffstat (limited to 'compiler/ccgexprs.nim')
-rw-r--r--compiler/ccgexprs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index 2f7804384..3a419393d 100644
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -1552,7 +1552,7 @@ proc genMagicExpr(p: BProc, e: PNode, d: var TLoc, op: TMagic) =
   of mArrToSeq: genArrToSeq(p, e, d)
   of mNLen..mNError:
     localError(e.info, errCannotGenerateCodeForX, e.sons[0].sym.name.s)
-  of mSlurp, mStaticExec:
+  of mSlurp..mQuoteAst:
     localError(e.info, errXMustBeCompileTime, e.sons[0].sym.name.s)
   else: internalError(e.info, "genMagicExpr: " & $op)