diff --git a/XPath/impl/xpath_grammar.hpp b/XPath/impl/xpath_grammar.hpp index eb2fa53e..4fbdfaee 100644 --- a/XPath/impl/xpath_grammar.hpp +++ b/XPath/impl/xpath_grammar.hpp @@ -6,10 +6,7 @@ #endif #include -#include #include -#include -#include #include "xpath_ast_ids.hpp" diff --git a/XPath/impl/xpath_parser.hpp b/XPath/impl/xpath_parser.hpp index 2d65139d..5f4bd9f1 100644 --- a/XPath/impl/xpath_parser.hpp +++ b/XPath/impl/xpath_parser.hpp @@ -150,7 +150,7 @@ public: if(XPath::factory().find(id) == XPath::factory().end()) { - XPath::dump(i, 0); + //XPath::dump(i, 0); throw UnsupportedException(XPath::names()[id]); } @@ -330,6 +330,7 @@ private: return names; } // init_debugNames + /* static void dump(node_iter_t const& i, int depth) { long id = static_cast(i->value.id().to_long()); @@ -341,6 +342,7 @@ private: for(node_iter_t c = i->children.begin(); c != i->children.end(); ++c) dump(c, depth+2); } // dump + */ XPath(const XPath&); XPath& operator=(const XPath&);