summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-07-19 23:25:22 +0200
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-07-19 23:25:22 +0200
commite7be3d873fc33a20c04fae95892f6bdc2e851a4f (patch)
tree0d0ec204adae249f28bdb17aa16efb4e34741c1c /lib/pure
parentc0b78276e84b15ebe7905397ef924cdeb3dd0659 (diff)
downloadNim-e7be3d873fc33a20c04fae95892f6bdc2e851a4f.tar.gz
Notes kind() getter is used to read TXmlNode.k field.
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/xmltree.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/xmltree.nim b/lib/pure/xmltree.nim
index d5821d8f3..fc3375254 100644
--- a/lib/pure/xmltree.nim
+++ b/lib/pure/xmltree.nim
@@ -24,7 +24,7 @@ type
   PXmlAttributes* = PStringTable ## an alias for a string to string mapping
   
   TXmlNode {.pure, final, acyclic.} = object 
-    case k: TXmlNodeKind
+    case k: TXmlNodeKind # private, use the kind() proc to read this field.
     of xnText, xnComment, xnCData, xnEntity: 
       fText: string
     of xnElement: