From f8c485b2317b60f793ee926b521f38bcb01eeedc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 26 Mar 2016 17:01:11 -0400 Subject: [PATCH] Rules: Renamed ::parseRuleTheme to ::parseRuleSettings --- src/Rules.cpp | 4 ++-- src/Rules.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Rules.cpp b/src/Rules.cpp index 2551d33a..b8209497 100644 --- a/src/Rules.cpp +++ b/src/Rules.cpp @@ -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 & lines) } //////////////////////////////////////////////////////////////////////////////// -void Rules::parseRuleTheme (const std::vector & lines) +void Rules::parseRuleSettings (const std::vector & lines) { std::vector indents; std::vector hierarchy; diff --git a/src/Rules.h b/src/Rules.h index 4ce13420..da1b53c5 100644 --- a/src/Rules.h +++ b/src/Rules.h @@ -57,7 +57,7 @@ private: void parse (const std::string&, int next = 1); void parseRule (const std::string&); void parseRuleGeneral (const std::vector &); - void parseRuleTheme (const std::vector &); + void parseRuleSettings (const std::vector &); void parseRuleExclusions (const std::vector &); void parseRuleTag (const std::vector &); void parseRuleHolidays (const std::vector &);