Expose the 'extra' attribute publicly.

FossilOrigin-Name: be5fc8f6a37bf34db8e3f499ff70d8434bab30901ac53336d0dd36c8ff1b48e4
This commit is contained in:
Mahlon E. Smith 2015-05-20 16:42:48 +00:00
parent eb98af4d9e
commit c7553feb00

View file

@ -97,7 +97,7 @@ import
parseutils, parseutils,
strutils strutils
const version = "0.1.0" const version = "0.1.1"
type type
TNetstringKind* = enum ## enumeration of all valid types TNetstringKind* = enum ## enumeration of all valid types
@ -111,7 +111,7 @@ type
TNetstringNode* = ref TNetstringNodeObj TNetstringNode* = ref TNetstringNodeObj
TNetstringNodeObj* {.acyclic.} = object TNetstringNodeObj* {.acyclic.} = object
extra: string extra*: string
case kind*: TNetstringKind case kind*: TNetstringKind
of TNetstringString: of TNetstringString:
str*: string str*: string