aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-01-01 06:42:19 +0100
committerdec05eba <dec05eba@protonmail.com>2018-01-01 06:42:25 +0100
commit0db3a23b21fe2856f64c5007b27e46a8140f10c0 (patch)
tree381affd095f2dbe54f168f04dbf7e5291f94aae2 /include
parent9723d823bba90862df6de9ae8cec90cbda9e064c (diff)
Fail build if project.conf contains invalid object or field
Diffstat (limited to 'include')
-rw-r--r--include/Conf.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index f5fb382..75076fa 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -228,6 +228,7 @@ namespace sibs
virtual void processObject(StringView name) override;
virtual void processField(StringView name, const ConfigValue &value) override;
virtual void finished() override;
+ void failInvalidFieldUnderObject(const StringView &fieldName) const;
private:
void validatePackageName() const;
protected: