diff options
author | Araq <rumpf_a@web.de> | 2013-11-25 13:06:11 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-11-25 13:06:11 +0100 |
commit | 4855055bca7f5b2900ac15ce0e5cae90c22fa7fa (patch) | |
tree | 19794ccc8ae9367fa94e8808021f1b313e431d65 /lib/system.nim | |
parent | 52d1a637b95f7cea95ad6e9591a941ef1be113cb (diff) | |
parent | b893bd074f9e90f517c3f84037f92f89ab6fbad3 (diff) | |
download | Nim-4855055bca7f5b2900ac15ce0e5cae90c22fa7fa.tar.gz |
Merge branch 'master' of https://github.com/Araq/Nimrod
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 9beead0b7..34b67267f 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -849,7 +849,7 @@ const ## a string that describes the application type. Possible values: ## "console", "gui", "lib". - seqShallowFlag = 1 shl (sizeof(int)*8-1) + seqShallowFlag = low(int) proc compileOption*(option: string): bool {. magic: "CompileOption", noSideEffect.} @@ -1795,7 +1795,7 @@ when defined(JS): elif hostOS != "standalone": {.push stack_trace:off, profiler:off.} - proc add*(x: var string, y: cstring) {.noStackFrame.} = + proc add*(x: var string, y: cstring) = var i = 0 while y[i] != '\0': add(x, y[i]) |