mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-30 22:17:13 +02:00
Updated the XML module to include the location for C++ exceptions in source code for debug builds.
This commit is contained in:
@ -82,14 +82,14 @@ void ParseResult::Validate() const
|
||||
{
|
||||
// Is the documen handle valid?
|
||||
if (!m_Doc)
|
||||
SqThrowF("Invalid XML document reference");
|
||||
STHROWF("Invalid XML document reference");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void ParseResult::Check() const
|
||||
{
|
||||
if (m_Result.status != status_ok)
|
||||
SqThrowF("XML parse error [%s]", m_Result.description());
|
||||
STHROWF("XML parse error [%s]", m_Result.description());
|
||||
}
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
Reference in New Issue
Block a user