namespace PT renamed to pt
This commit is contained in:
@@ -73,18 +73,18 @@ void AddWinixFunctions(PluginInfo & info)
|
||||
// create a class from these methods
|
||||
void ReloadConfigFile(PluginInfo & info, Item & file)
|
||||
{
|
||||
PT::Space space;
|
||||
PT::SpaceParser parser;
|
||||
pt::Space space;
|
||||
pt::SpaceParser parser;
|
||||
|
||||
parser.SetSpace(space);
|
||||
PT::SpaceParser::Status status = parser.ParseSpace(file.item_content.content_raw);
|
||||
pt::SpaceParser::Status status = parser.ParseSpace(file.item_content.content_raw);
|
||||
|
||||
if( status == PT::SpaceParser::syntax_error )
|
||||
if( status == pt::SpaceParser::syntax_error )
|
||||
{
|
||||
info.log << log1 << "MR: syntax error in file: " << file.url << ", line: " << parser.get_last_parsed_line() << " (skipping this file)" << logend;
|
||||
}
|
||||
else
|
||||
if( status == PT::SpaceParser::ok )
|
||||
if( status == pt::SpaceParser::ok )
|
||||
{
|
||||
std::wstring * list_id_str = space.get_wstr(L"list_id");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user