Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem/inifile.cc')
-rw-r--r--src/filesystem/inifile.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/filesystem/inifile.cc b/src/filesystem/inifile.cc
index 90efa15..ddb1c63 100644
--- a/src/filesystem/inifile.cc
+++ b/src/filesystem/inifile.cc
@@ -237,6 +237,11 @@ bool IniFile::got_key_bool(const char * keylabel, bool & b)
return false;
}
+void IniFile::unknown_value() const
+{
+ con_warn << name() << " unknown value '" << value() << "' for key '" << key() << "' at line " << line() << std::endl;
+}
+
void IniFile::unkown_key() const
{
con_warn << name() << " unknown key '" << key() << "' at line " << line() << std::endl;