Sfoglia il codice sorgente

Added source url to XMLParser error message

Lloyd Weehuizen 15 anni fa
parent
commit
e31f210fee
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Source/Core/XMLParser.cpp

+ 1 - 1
Source/Core/XMLParser.cpp

@@ -187,7 +187,7 @@ void XMLParser::HandleElementEnd(const String& _name)
 	// Check frame names
 	// Check frame names
 	if (name != frame.tag)
 	if (name != frame.tag)
 	{
 	{
-		Log::Message(Log::LT_ERROR, "Closing tag '%s' mismatched on line %d was expecting '%s'.", name.CString(), GetLineNumber(), frame.tag.CString());
+		Log::Message(Log::LT_ERROR, "Closing tag '%s' mismatched on %s:%d was expecting '%s'.", name.CString(), GetSourceURL().GetURL().CString(), GetLineNumber(), frame.tag.CString());
 	}
 	}
 
 
 	// Call element end handler
 	// Call element end handler