mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-22 09:30:32 +00:00
All comments in the LR35902 test input file
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
0084d962c1
commit
37c86fa5cf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user