author | František Kučera <franta-hg@frantovo.cz> |
Sun, 22 Nov 2020 01:22:45 +0100 | |
branch | v_0 |
changeset 3 | 4313e91da50b |
parent 2 | f031a4dc7c52 |
child 4 | d9b047731e18 |
--- a/src/lib/INIReader.cpp Sun Nov 22 00:44:00 2020 +0100 +++ b/src/lib/INIReader.cpp Sun Nov 22 01:22:45 2020 +0100 @@ -60,6 +60,7 @@ // TODO: support also comments + emit also the comment style (;/#) } else if (std::regex_match(line, match, sectionPattrern)) { if (inSection) for (INIContentHandler* handler : handlers) handler->endSection(); + inSection = true; INIContentHandler::SectionStartEvent event; event.lineNumber = lineNumber; event.eventNumber = ++eventNumber;