summary refs log tree commit diff stats
path: root/compiler/vm.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-08-16 13:40:52 +0200
committerAraq <rumpf_a@web.de>2015-08-16 13:41:30 +0200
commit69b32637b1f12000b64fa4db452323dc30b3567f (patch)
treeceb379ddd4282471378c52fa678b321941094231 /compiler/vm.nim
parentd81578cb9b4776356d610e2329ffc7f3323d13db (diff)
downloadNim-69b32637b1f12000b64fa4db452323dc30b3567f.tar.gz
implements experimental new config system based on NimScript
Diffstat (limited to 'compiler/vm.nim')
-rw-r--r--compiler/vm.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim
index b1d71d73b..57ed8397c 100644
--- a/compiler/vm.nim
+++ b/compiler/vm.nim
@@ -1407,7 +1407,7 @@ include vmops
 # storing&loading the 'globals' environment to get what a component system
 # requires.
 var
-  globalCtx: PCtx
+  globalCtx*: PCtx
 
 proc setupGlobalCtx(module: PSym) =
   if globalCtx.isNil:
@@ -1516,7 +1516,7 @@ proc evalMacroCall*(module: PSym, n, nOrig: PNode, sym: PSym): PNode =
   # return value:
   tos.slots[0].kind = rkNode
   tos.slots[0].node = newNodeIT(nkEmpty, n.info, sym.typ.sons[0])
-  
+
   # setup parameters:
   for i in 1.. <sym.typ.len:
     tos.slots[i] = setupMacroParam(n.sons[i], sym.typ.sons[i])