diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-26 02:08:20 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-26 02:08:20 -0500 |
commit | 82ca73034e9fc0756945ddbd9c9008a8b6443d69 (patch) | |
tree | 9cb88cbb63fc349b5a282ed143eeea652d3e36f7 /hscript/script_i.hh | |
parent | db86a77b1d79824d2ee42d617f9a04bf8c3f7210 (diff) | |
download | horizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.tar.gz horizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.tar.bz2 horizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.tar.xz horizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.zip |
hscript: Implement (currently undocumented) 'inherit' key and tests
Diffstat (limited to 'hscript/script_i.hh')
-rw-r--r-- | hscript/script_i.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hscript/script_i.hh b/hscript/script_i.hh index b6fc371..2a86d71 100644 --- a/hscript/script_i.hh +++ b/hscript/script_i.hh @@ -116,6 +116,7 @@ struct Script::ScriptPrivate { const ScriptOptions &opts); #define DUPLICATE_ERROR(OBJ, KEY, OLD_VAL) \ + if(pos.inherited) return true;\ std::string err_str("previous value was ");\ err_str += OLD_VAL;\ err_str += " at " + OBJ->where().name;\ |