mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Rules: Renamed ::parseRuleTheme to ::parseRuleSettings
This commit is contained in:
parent
3fb1878ffb
commit
f8c485b231
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue