Minor changes.
h3rald h3rald@h3rald.com
Sun, 19 Feb 2017 15:00:02 +0100
2 files changed,
2 insertions(+),
5 deletions(-)
M
core/interpreter.nim
→
core/interpreter.nim
@@ -3,7 +3,6 @@ streams,
strutils, critbits, os, - oids, algorithm, logging import@@ -98,16 +97,15 @@ i.parser.close();
proc push*(i: In, val: MinValue) {.gcsafe.} -#proc apply*(i: In, op: MinOperator, s: var ref MinScope, name="apply") = proc apply*(i: In, op: MinOperator) = - var s = newScopeRef(i.scope, "apply") + var newscope = newScopeRef(i.scope, "apply") case op.kind of minProcOp: op.prc(i) of minValOp: if op.val.kind == minQuotation: var q = op.val - i.withScope(q, s): + i.withScope(q, newscope): for e in q.qVal: i.push e else:
M
lib/min_lang.nim
→
lib/min_lang.nim
@@ -4,7 +4,6 @@ strutils,
os, json, algorithm, - oids, logging import ../core/consts,