updated to the new pikotools api: SpaceParser::SetSpace(...) methods have been removed
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user