1
0
鏡像自 https://github.com/quitesimpleorg/qsmaddy.git 已同步 2025-10-09 09:26:30 +02:00

make sure that all parsers are finished

此提交包含在:
M. Petra Baranski
2018-01-18 19:09:10 +01:00
父節點 7963d90603
當前提交 9a9774f904
共有 2 個檔案被更改,包括 13 行新增1 行删除

查看文件

@@ -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;
}