mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 20:55:44 +00:00
handle a newline at the end of a tsv (#2343)
Former-commit-id: fc6b2d2abce28b3ee15ae5fbb148f7b470da3595
This commit is contained in:
@@ -73,6 +73,7 @@ vector<StringMap> TsvParser::ParseColumnEntryTsv(string tsv) {
|
||||
while (!str.eof()) {
|
||||
string mapEntryLine;
|
||||
std::getline(str, mapEntryLine, '\n');
|
||||
if (mapEntryLine.empty()) continue;
|
||||
vector<string> keyAndValues = ParseLine(mapEntryLine);
|
||||
|
||||
string key = keyAndValues[0];
|
||||
|
||||
Reference in New Issue
Block a user