From e7be3d873fc33a20c04fae95892f6bdc2e851a4f Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Fri, 19 Jul 2013 23:25:22 +0200 Subject: Notes kind() getter is used to read TXmlNode.k field. --- lib/pure/xmltree.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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: -- cgit 1.4.1-2-gfad0