Fixed DMC compilation

git-svn-id: http://pugixml.googlecode.com/svn/trunk@484 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-05-31 16:12:16 +00:00
parent d8b256203c
commit 18848ef589

View File

@ -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();