diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-09 17:10:17 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-09 17:10:17 +0200 |
commit | f3c6c6123da841537b10598e766e1b61a7e66b54 (patch) | |
tree | 65edae2f645c62cba60936b3a47c25c488452883 /include/configparser.h | |
parent | 878315360c6953eed1fb7c9af8c8a6b2295c77fc (diff) |
Deduplicate ParseStack::ParseFile() and ParseExec()
Diffstat (limited to 'include/configparser.h')
-rw-r--r-- | include/configparser.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configparser.h b/include/configparser.h index 8292fdda5..f46d143ae 100644 --- a/include/configparser.h +++ b/include/configparser.h @@ -53,8 +53,7 @@ struct ParseStack vars["quot"] = "\""; vars["newline"] = vars["nl"] = "\n"; } - bool ParseFile(const std::string& name, int flags, const std::string& mandatory_tag = ""); - bool ParseExec(const std::string& name, int flags, const std::string& mandatory_tag = ""); + bool ParseFile(const std::string& name, int flags, const std::string& mandatory_tag = std::string(), bool isexec = false); void DoInclude(ConfigTag* includeTag, int flags); void DoReadFile(const std::string& key, const std::string& file, int flags, bool exec); }; |