Expose the 'extra' attribute publicly.
authorMahlon E. Smith <mahlon@martini.nu>
Wed, 20 May 2015 09:42:48 -0700
changeset 5 d3804875d828
parent 4 800be124db98
child 6 fa28eee75094
Expose the 'extra' attribute publicly.
tnetstring.nim
--- a/tnetstring.nim	Tue May 19 19:39:32 2015 -0700
+++ b/tnetstring.nim	Wed May 20 09:42:48 2015 -0700
@@ -97,7 +97,7 @@
     parseutils,
     strutils
 
-const version = "0.1.0"
+const version = "0.1.1"
 
 type 
   TNetstringKind* = enum     ## enumeration of all valid types
@@ -111,7 +111,7 @@
 
   TNetstringNode* = ref TNetstringNodeObj
   TNetstringNodeObj* {.acyclic.} = object
-      extra: string
+      extra*: string
       case kind*: TNetstringKind
       of TNetstringString:
           str*: string