mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
a few erm interpretter unit tests and fixes (#688)
This commit is contained in:
committed by
GitHub
parent
483a4689ce
commit
bd31a87133
@ -81,11 +81,12 @@ std::string CERMPreprocessor::retrieveCommandLine()
|
||||
|
||||
if(openedString)
|
||||
{
|
||||
wholeCommand += "\\n";
|
||||
wholeCommand += "\n";
|
||||
if(dash != std::string::npos)
|
||||
{
|
||||
wholeCommand += line.substr(0, dash);
|
||||
line.erase(0,dash);
|
||||
wholeCommand += line.substr(0, dash + 1);
|
||||
line.erase(0,dash + 1);
|
||||
openedString = false;
|
||||
}
|
||||
else //no closing marker -> the whole line is further part of string
|
||||
{
|
||||
|
Reference in New Issue
Block a user