Fixes.
h3rald h3rald@h3rald.com
Thu, 31 Dec 2020 13:30:23 +0100
1 files changed,
2 insertions(+),
3 deletions(-)
jump to
M
lib/min_lang.nim
→
lib/min_lang.nim
@@ -89,13 +89,12 @@ if not file.endsWith(".min"):
file = file & ".min" info("[load] File: ", file) let f = simplifyPath(i.filename, file) - var i2 = i.copy(f) if MINCOMPILED and COMPILEDMINFILES.hasKey(f): - COMPILEDMINFILES[f](i2) + COMPILEDMINFILES[f](i) else: if not f.fileExists: raiseInvalid("File '$1' does not exist." % file) - i2.load f + i.load f def.symbol("require") do (i: In): let vals = i.expect("'sym")