updated to the new pikotools api: SpaceParser::SetSpace(...) methods have been removed

This commit is contained in:
2021-05-21 01:37:42 +02:00
parent 8bb585d97d
commit 27720afaf2
11 changed files with 13 additions and 39 deletions

View File

@@ -66,10 +66,6 @@ void Config::ShowError()
switch( parser.status )
{
case pt::SpaceParser::no_space:
log << log2 << "Config: space not set" << logend;
break;
case pt::SpaceParser::ok:
log << log2 << "Config: syntax ok" << logend;
break;
@@ -106,9 +102,7 @@ bool Config::ReadConfig(bool errors_to_stdout_, bool stdout_is_closed)
}
log << log2 << "Config: reading a config file" << logend;
parser.SetSpace(space);
pt::SpaceParser::Status status = parser.ParseSpaceFile(config_file);
pt::SpaceParser::Status status = parser.ParseSpaceFile(config_file, space);
if( status == pt::SpaceParser::ok )
{