make sure that all parsers are finished

Tento commit je obsažen v:
M. Petra Baranski
2018-01-18 19:09:10 +01:00
rodič 7963d90603
revize 9a9774f904
2 změnil soubory, kde provedl 13 přidání a 1 odebrání

Zobrazit soubor

@@ -93,6 +93,18 @@ public:
}
}
// make sure, that all parsers are finished
if (currentBlockParser)
{
std::string emptyLine = "";
currentBlockParser->AddLine(emptyLine);
if (currentBlockParser->IsFinished())
{
result += currentBlockParser->GetResult().str();
currentBlockParser = nullptr;
}
}
return result;
}