updated to the new Pikotools api (new Space struct)
This commit is contained in:
@@ -80,14 +80,14 @@ bool GroupInfo::ParseGroups(const std::wstring & str, Groups & groups)
|
||||
PT::Space & space = *groups.GetSpace();
|
||||
conf_parser.SetSpace(space);
|
||||
|
||||
if( conf_parser.ParseString(str) == PT::SpaceParser::ok )
|
||||
if( conf_parser.ParseSpace(str) == PT::SpaceParser::ok )
|
||||
{
|
||||
groups.Reindex();
|
||||
}
|
||||
else
|
||||
{
|
||||
slog << logerror << "Syntax error in line: " << conf_parser.line << logend;
|
||||
log << log1 << "Syntax error in line: " << conf_parser.line << logend;
|
||||
slog << logerror << "Syntax error in line: " << conf_parser.get_last_parsed_line() << logend;
|
||||
log << log1 << "Syntax error in line: " << conf_parser.get_last_parsed_line() << logend;
|
||||
groups.Clear();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user