summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hscript/script.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index 8c0c380..1bb2176 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -187,6 +187,7 @@ const Script *Script::load(std::istream &sstream, const ScriptOptions opts) {
if(key_end == std::string::npos || value_begin == std::string::npos) {
/* Key without value */
PARSER_ERROR("key '" + key + "' has no value")
+ continue;
}
/* Normalise key to lower-case */