diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-09-30 11:21:22 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2016-09-30 11:21:22 +0300 |
commit | b941de80dbe15a20a0eaea795d1282cf36306c30 (patch) | |
tree | 4eb6cde9df1611c1dd9cb06cedf6faef66b4d65b /indra/llui | |
parent | 188b778abcd4d06a9fcfcf0eee0cce8ccf00ed9b (diff) |
MAINT-6783 Xml parser warnings should show the file name
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llxuiparser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llxuiparser.h b/indra/llui/llxuiparser.h index ad2a39cab7..bb11a23938 100644 --- a/indra/llui/llxuiparser.h +++ b/indra/llui/llxuiparser.h @@ -60,7 +60,7 @@ public: void writeXSD(const std::string& name, LLXMLNodePtr node, const LLInitParam::BaseBlock& block, const std::string& xml_namespace); /*virtual*/ std::string getCurrentElementName() { return LLStringUtil::null; } - + /*virtual*/ std::string getCurrentFileName() { return LLStringUtil::null; } LLXSDWriter(); ~LLXSDWriter(); @@ -98,6 +98,7 @@ public: typedef LLInitParam::Parser::name_stack_t name_stack_t; /*virtual*/ std::string getCurrentElementName(); + /*virtual*/ std::string getCurrentFileName() { return mCurFileName; } /*virtual*/ void parserWarning(const std::string& message); /*virtual*/ void parserError(const std::string& message); @@ -200,6 +201,7 @@ public: virtual ~LLSimpleXUIParser(); /*virtual*/ std::string getCurrentElementName(); + /*virtual*/ std::string getCurrentFileName() { return mCurFileName; } /*virtual*/ void parserWarning(const std::string& message); /*virtual*/ void parserError(const std::string& message); |