summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:05:50 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:05:50 +0000
commit9292096c56286a65c0556eac341e1279102f5223 (patch)
tree2b33ef6147ef127436ada144a301bd235a4d79c9 /src
parent849a5a081b1cd19dd2fa0cb557a0a7503b7d50e7 (diff)
tests: Added support for XPath without exceptions
git-svn-id: http://pugixml.googlecode.com/svn/trunk@637 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src')
-rw-r--r--src/pugixpath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index 732a3c6..c86fbd5 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -3429,7 +3429,7 @@ namespace pugi
if (m_root->rettype() != xpath_type_node_set)
{
#ifdef PUGIXML_NO_EXCEPTIONS
- return xpath_node_set()
+ return xpath_node_set();
#else
xpath_parse_result result = {"Expression does not evaluate to node set", 0};
throw xpath_exception(result);