diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-08 02:53:28 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:40 -0400 |
commit | fa81dc479801ba1343695d66cdb37d8b80bfae9d (patch) | |
tree | 835724102a2c99a88d9e67bae71a94ee49e1f674 /src/xml.h | |
parent | ee4a16743960122bf2b626f62827b7332680ebf5 (diff) | |
download | ledger-fa81dc479801ba1343695d66cdb37d8b80bfae9d.tar.gz ledger-fa81dc479801ba1343695d66cdb37d8b80bfae9d.tar.bz2 ledger-fa81dc479801ba1343695d66cdb37d8b80bfae9d.zip |
Added target fullcheck.
Diffstat (limited to 'src/xml.h')
-rw-r--r-- | src/xml.h | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -236,18 +236,23 @@ private: names_map names_index; - terminal_node_t stub; - - public: +public: node_t * top; +private: + terminal_node_t stub; + +public: // Ids 0-9 are reserved. 10-999 are for "builtin" names. 1000+ are // for dynamically registered names. enum special_names_t { CURRENT, PARENT, ROOT, ALL }; - document_t(node_t * _top = NULL); + document_t(node_t * _top = NULL) + : top(_top ? _top : &stub), stub(this) { + TRACE_CTOR(xml::document_t, "node_t *, const char **, const int"); + } ~document_t(); void set_top(node_t * _top); |