All comments in the LR35902 test input file

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon 2017-08-12 15:47:03 +01:00
parent 0084d962c1
commit 37c86fa5cf

View File

@ -7,6 +7,8 @@ void Fuse::Test::read(std::ifstream& file) {
do {
std::getline(file, description);
finish = file.eof();
if (!description.empty() && (description[0] == ';')) // ignore comments
description.clear();
} while (description.empty() && !finish);
if (finish)