json code generation works again

This commit is contained in:
Araq
2011-08-07 23:54:03 +02:00
parent 5131b3cea4
commit cb21fd4f8f
6 changed files with 17 additions and 14 deletions

View File

@@ -1470,10 +1470,6 @@ type
filename: CString
len: int # length of slots (when not debugging always zero)
when defined(ecmaScript):
var
framePtr {.compilerproc.}: PFrame
when not defined(ECMAScript):
{.push stack_trace:off}
proc add*(x: var string, y: cstring) =
@@ -1877,6 +1873,11 @@ elif defined(ecmaScript) or defined(NimrodVM):
proc alloc0(size: int): pointer = nil
proc realloc(p: Pointer, newsize: int): pointer = nil
proc allocShared(size: int): pointer = nil
proc allocShared0(size: int): pointer = nil
proc deallocShared(p: pointer) = nil
proc reallocShared(p: pointer, newsize: int): pointer = nil
when defined(ecmaScript):
include "system/ecmasys"
elif defined(NimrodVM):

View File

@@ -1,7 +1,7 @@
#
#
# Nimrod's Runtime Library
# (c) Copyright 2010 Andreas Rumpf
# (c) Copyright 2011 Andreas Rumpf
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.