diff options
author | Araq <rumpf_a@web.de> | 2011-09-24 00:46:54 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-09-24 00:46:54 +0200 |
commit | 3824b6ea5f320f956473bdfaf0894fe89c90f0ab (patch) | |
tree | 6185dd432665cff1596e4a85bf1f6c43229570be /lib/system.nim | |
parent | 6023e994fbc949c77abbbe4ffae761ca982732db (diff) | |
parent | 6deda5a973312e86fe58e319e97afd93bc07c82d (diff) | |
download | Nim-3824b6ea5f320f956473bdfaf0894fe89c90f0ab.tar.gz |
Merge branch 'master' of git@github.com:Araq/Nimrod
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-x | lib/system.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index 8e4205189..1ce7a4d60 100755 --- a/lib/system.nim +++ b/lib/system.nim @@ -1503,6 +1503,8 @@ else: `x`[0][len] = 0 """ + proc add*(x: var cstring, y: cstring) {.magic: "AppendStrStr".} + proc echo*[Ty](x: openarray[Ty]) {.magic: "Echo", noSideEffect.} ## special built-in that takes a variable number of arguments. Each argument ## is converted to a string via ``$``, so it works for user-defined @@ -1894,6 +1896,7 @@ elif defined(ecmaScript) or defined(NimrodVM): when defined(ecmaScript): include "system/ecmasys" + include "system/reprjs" elif defined(NimrodVM): proc cmp(x, y: string): int = if x == y: return 0 |