aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/interpreter.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-02-01 10:44:17 +0100
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-02-01 11:49:52 +0000
commitda7b9df16c696979b0f3860cbde1692e2ba5e0cc (patch)
tree606347aae445d57ec75d5ff02c77208298b5a9ea /mesonbuild/ast/interpreter.py
parent79c087bad2f31f66da24169136c77b744ce4a453 (diff)
downloadmeson-da7b9df16c696979b0f3860cbde1692e2ba5e0cc.zip
meson-da7b9df16c696979b0f3860cbde1692e2ba5e0cc.tar.gz
meson-da7b9df16c696979b0f3860cbde1692e2ba5e0cc.tar.bz2
Ensure that func dicts provide the same set of functions
Diffstat (limited to 'mesonbuild/ast/interpreter.py')
-rw-r--r--mesonbuild/ast/interpreter.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/mesonbuild/ast/interpreter.py b/mesonbuild/ast/interpreter.py
index 2071432..68c017a 100644
--- a/mesonbuild/ast/interpreter.py
+++ b/mesonbuild/ast/interpreter.py
@@ -89,6 +89,16 @@ class AstInterpreter(interpreterbase.InterpreterBase):
'set_variable': self.func_do_nothing,
'get_variable': self.func_do_nothing,
'is_variable': self.func_do_nothing,
+ 'disabler': self.func_do_nothing,
+ 'gettext': self.func_do_nothing,
+ 'jar': self.func_do_nothing,
+ 'warning': self.func_do_nothing,
+ 'shared_module': self.func_do_nothing,
+ 'option': self.func_do_nothing,
+ 'both_libraries': self.func_do_nothing,
+ 'add_test_setup': self.func_do_nothing,
+ 'find_library': self.func_do_nothing,
+ 'subdir_done': self.func_do_nothing,
})
def func_do_nothing(self, node, args, kwargs):