mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 12:40:04 +00:00
Restructure script verifier message
This commit is contained in:
parent
59f7df187d
commit
44da71fdb3
@ -30,11 +30,11 @@ void CSMTools::ScriptCheckStage::report (const std::string& message, const Compi
|
||||
|
||||
CSMWorld::UniversalId id (CSMWorld::UniversalId::Type_Script, mId);
|
||||
|
||||
stream << "line " << loc.mLine << ", column " << loc.mColumn << ": " << message << " (" << loc.mLiteral << ")";
|
||||
stream << message << " (" << loc.mLiteral << ")" << " @ line " << loc.mLine+1 << ", column " << loc.mColumn;
|
||||
|
||||
std::ostringstream hintStream;
|
||||
|
||||
hintStream << "l:" << loc.mLine << " " << loc.mColumn;
|
||||
hintStream << "l:" << loc.mLine+1 << " " << loc.mColumn;
|
||||
|
||||
mMessages->add (id, stream.str(), hintStream.str(), getSeverity (type));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user