diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-07-10 16:53:59 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-07-10 16:53:59 +0000 |
commit | 052a8f2fe0c7e5a9f3ca24741fd57b93bdd7b2c8 (patch) | |
tree | 61762f2e762337b726e59c9aeb86431cffdf1ad9 /src/pugixpath.cpp | |
parent | f4cb6eb737cd22c355cb3b3b4f5f1ef215a8576b (diff) |
XPath: Capitalized all error messages
git-svn-id: http://pugixml.googlecode.com/svn/trunk@582 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r-- | src/pugixpath.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 80368ff..a198969 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -2815,7 +2815,7 @@ namespace pugi {
case lex_var_ref:
{
- throw xpath_exception("variables are not supported");
+ throw xpath_exception("Variables are not supported");
#ifdef __DMC__
return 0; // Digital Mars C++
@@ -2829,7 +2829,7 @@ namespace pugi xpath_ast_node* n = parse_expression();
if (m_lexer.current() != lex_close_brace)
- throw xpath_exception("unmatched braces");
+ throw xpath_exception("Unmatched braces");
m_lexer.next();
@@ -2874,7 +2874,7 @@ namespace pugi while (m_lexer.current() != lex_close_brace)
{
if (m_lexer.current() != lex_comma)
- throw xpath_exception("no comma between function arguments");
+ throw xpath_exception("No comma between function arguments");
m_lexer.next();
xpath_ast_node* n = parse_expression();
@@ -2892,7 +2892,7 @@ namespace pugi }
default:
- throw xpath_exception("unrecognizable primary expression");
+ throw xpath_exception("Unrecognizable primary expression");
#ifdef __DMC__
return 0; // Digital Mars C++
#endif
@@ -3065,7 +3065,7 @@ namespace pugi xpath_ast_node* pred = new (m_alloc.node()) xpath_ast_node(ast_predicate, xpath_type_node_set, expr);
if (m_lexer.current() != lex_close_square_brace)
- throw xpath_exception("unmatched square brace");
+ throw xpath_exception("Unmatched square brace");
m_lexer.next();
if (last) last->set_next(pred);
|