Rules: Renamed ::parseRuleTheme to ::parseRuleSettings

This commit is contained in:
Paul Beckingham 2016-03-26 17:01:11 -04:00
parent 3fb1878ffb
commit f8c485b231
2 changed files with 3 additions and 3 deletions

View file

@ -311,7 +311,7 @@ void Rules::parseRule (const std::string& input)
// define theme:
else if (tokens.size () == 2 && tokens[1] == "theme:")
parseRuleTheme (lines);
parseRuleSettings (lines);
// define holidays:
else if (tokens.size () == 2 && tokens[1] == "holidays:")
@ -333,7 +333,7 @@ void Rules::parseRuleGeneral (const std::vector <std::string>& lines)
}
////////////////////////////////////////////////////////////////////////////////
void Rules::parseRuleTheme (const std::vector <std::string>& lines)
void Rules::parseRuleSettings (const std::vector <std::string>& lines)
{
std::vector <unsigned int> indents;
std::vector <std::string> hierarchy;

View file

@ -57,7 +57,7 @@ private:
void parse (const std::string&, int next = 1);
void parseRule (const std::string&);
void parseRuleGeneral (const std::vector <std::string>&);
void parseRuleTheme (const std::vector <std::string>&);
void parseRuleSettings (const std::vector <std::string>&);
void parseRuleExclusions (const std::vector <std::string>&);
void parseRuleTag (const std::vector <std::string>&);
void parseRuleHolidays (const std::vector <std::string>&);