summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorPMunch <peterme@peterme.net>2020-05-15 19:32:52 +0200
committerGitHub <noreply@github.com>2020-05-15 19:32:52 +0200
commit13cfaf5fd55796bc671737a73f35643626c98b6e (patch)
treeaf24ced01e057c977dab2fe562ed6a0cc9bed959 /lib
parent105079e88ab88626ab663fa6674e9a5f08c71084 (diff)
downloadNim-13cfaf5fd55796bc671737a73f35643626c98b6e.tar.gz
Improve nimeval, changes some defaults (#14351)
* Improve nimeval, changes some defaults

This improves nimeval to make it easier to use NimScript as an embedded
scripting languages. It does change some of the defaults, so in case
anything used the old version and depended on the old behaviour these
would have to be changed.

* Remove dependency on nimhcr for nimscript
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 6b24bdcb8..098ad08be 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -3026,5 +3026,5 @@ export widestrs
 import system/io
 export io
 
-when not defined(createNimHcr):
+when not defined(createNimHcr) and not defined(nimscript):
   include nimhcr