summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-24 10:57:35 +0200
committerAraq <rumpf_a@web.de>2011-09-24 10:57:35 +0200
commit98e5beb936d8743b4d8e07fc47a0ab47e5f8a342 (patch)
tree52781ada5f5fba3ccdbb3e98007d7f2e636143c2 /lib/pure
parentae0ab9a101fccfe8cdd8f2efa0ae2c73e396db7c (diff)
downloadNim-98e5beb936d8743b4d8e07fc47a0ab47e5f8a342.tar.gz
got rid of akPureObject
Diffstat (limited to 'lib/pure')
-rwxr-xr-xlib/pure/marshal.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/marshal.nim b/lib/pure/marshal.nim
index 354d70a71..8b062ef26 100755
--- a/lib/pure/marshal.nim
+++ b/lib/pure/marshal.nim
@@ -47,7 +47,7 @@ proc storeAny(s: PStream, a: TAny, stored: var TIntSet) =
         if i > 0: s.write(", ")

         storeAny(s, a[i], stored)

       s.write("]")

-  of akObject, akPureObject, akTuple:

+  of akObject, akTuple:

     s.write("{")

     var i = 0

     for key, val in fields(a):

@@ -138,7 +138,7 @@ proc loadAny(p: var TJsonParser, a: TAny, t: var TTable[biggestInt, pointer]) =
       else: raiseParseErr(p, "")

     else:
       raiseParseErr(p, "'[' expected for a seq")

-  of akObject, akPureObject, akTuple:

+  of akObject, akTuple:

     if a.kind == akObject: setObjectRuntimeType(a)
     if p.kind != jsonObjectStart: raiseParseErr(p, "'{' expected for an object")

     next(p)