intermediate

This commit is contained in:
3lswear
2022-01-25 08:00:36 +03:00
parent a16d22aa87
commit 53ebb0ddfe
6 changed files with 212 additions and 31 deletions

View File

@@ -63,6 +63,7 @@ namespace config
if (file.eof())
{
std::cout << "Tokens exhausted" << std::endl;
throw std::logic_error("Tokens exhausted");
}
prev_pos = file.tellg();
c = getWithoutWhiteSpace();