diff --git a/XPath/impl/xpath_grammar.hpp b/XPath/impl/xpath_grammar.hpp index 157cdb50..9c44c972 100644 --- a/XPath/impl/xpath_grammar.hpp +++ b/XPath/impl/xpath_grammar.hpp @@ -116,7 +116,6 @@ struct xpath_grammar_definition | discard_node_d[ch_p('\'')] >> token_node_d[*~ch_p('\'')] >> discard_node_d[ch_p('\'')]; Number = token_node_d[ch_p('.') >> Digits | Digits >> !('.' >> *Digits)]; Digits = token_node_d[+digit_p]; - // [32] Operator not actually used // [33] OperatorName not actually used // [34], [35], [36], [37], [38], [39] diff --git a/XPath/impl/xpath_parser.hpp b/XPath/impl/xpath_parser.hpp index 624b445f..e2bf92a7 100644 --- a/XPath/impl/xpath_parser.hpp +++ b/XPath/impl/xpath_parser.hpp @@ -127,7 +127,6 @@ private: ast = (this->*parser)(xpath); if(!ast.full) throw SyntaxException(string_adaptor::asStdString(xpath)); - //XPath::dump(ast.trees.begin(), 0); impl::CompilationContext context(*this, getNamespaceContext(), getFunctionResolver()); return XPathExpressionPtr(compile_with_factory(ast.trees.begin(), context, factory));