mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-14 08:01:49 +01:00
sync with cvs tree
This commit is contained in:
parent
0200ed6e70
commit
febb67170c
2 changed files with 0 additions and 2 deletions
|
@ -116,7 +116,6 @@ struct xpath_grammar_definition
|
||||||
| discard_node_d[ch_p('\'')] >> token_node_d[*~ch_p('\'')] >> discard_node_d[ch_p('\'')];
|
| discard_node_d[ch_p('\'')] >> token_node_d[*~ch_p('\'')] >> discard_node_d[ch_p('\'')];
|
||||||
Number = token_node_d[ch_p('.') >> Digits | Digits >> !('.' >> *Digits)];
|
Number = token_node_d[ch_p('.') >> Digits | Digits >> !('.' >> *Digits)];
|
||||||
Digits = token_node_d[+digit_p];
|
Digits = token_node_d[+digit_p];
|
||||||
|
|
||||||
// [32] Operator not actually used
|
// [32] Operator not actually used
|
||||||
// [33] OperatorName not actually used
|
// [33] OperatorName not actually used
|
||||||
// [34], [35], [36], [37], [38], [39]
|
// [34], [35], [36], [37], [38], [39]
|
||||||
|
|
|
@ -127,7 +127,6 @@ private:
|
||||||
ast = (this->*parser)(xpath);
|
ast = (this->*parser)(xpath);
|
||||||
if(!ast.full)
|
if(!ast.full)
|
||||||
throw SyntaxException(string_adaptor::asStdString(xpath));
|
throw SyntaxException(string_adaptor::asStdString(xpath));
|
||||||
//XPath::dump(ast.trees.begin(), 0);
|
|
||||||
|
|
||||||
impl::CompilationContext<string_type, string_adaptor> context(*this, getNamespaceContext(), getFunctionResolver());
|
impl::CompilationContext<string_type, string_adaptor> context(*this, getNamespaceContext(), getFunctionResolver());
|
||||||
return XPathExpressionPtr<string_type, string_adaptor>(compile_with_factory(ast.trees.begin(), context, factory));
|
return XPathExpressionPtr<string_type, string_adaptor>(compile_with_factory(ast.trees.begin(), context, factory));
|
||||||
|
|
Loading…
Reference in a new issue