summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pugixpath.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp
index 991b212..6262ff3 100644
--- a/src/pugixpath.cpp
+++ b/src/pugixpath.cpp
@@ -2675,6 +2675,10 @@ namespace pugi
}
throw xpath_exception("Unrecognized function or wrong parameter count");
+
+ #ifdef __DMC__
+ return 0; // Digital Mars C++
+ #endif
}
axis_t parse_axis_name(const xpath_lexer_string& name, bool& specified)
@@ -2820,7 +2824,7 @@ namespace pugi
case lex_string:
{
- xpath_ast_node* args[4] = {};
+ xpath_ast_node* args[4] = {0};
size_t argc = 0;
xpath_lexer_string function = m_lexer.contents();