1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Fix some warnings, Add headers to the solution

This commit is contained in:
Dmitry Orlov
2021-09-05 15:23:36 +03:00
committed by Andrii Danylchenko
parent 093076c6d0
commit ec7453ae85
6 changed files with 49 additions and 6 deletions

View File

@ -187,7 +187,8 @@ std::vector<LineInfo> ERMParser::parseFile(CERMPreprocessor & preproc)
}
catch (ParseErrorException & e)
{
logGlobal->error("Stopped parsing file.");
logGlobal->error("ERM Parser Error. File: '%s' Line: %d Exception: '%s'"
, preproc.getCurFileName(), preproc.getCurLineNo(), e.what());
throw;
}
return ret;