aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/introspection.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-05-12 19:37:40 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-05-13 02:48:35 +0300
commitcacc585b44d11ed680e6d3ad6c716b38bd8818a1 (patch)
tree69a8884c7ea47e9105ff72198ac52abb60e61802 /mesonbuild/ast/introspection.py
parent40ff089e6920b462c7579ebed362103fc6b50808 (diff)
downloadmeson-cacc585b44d11ed680e6d3ad6c716b38bd8818a1.zip
meson-cacc585b44d11ed680e6d3ad6c716b38bd8818a1.tar.gz
meson-cacc585b44d11ed680e6d3ad6c716b38bd8818a1.tar.bz2
ast: fix #5376
Diffstat (limited to 'mesonbuild/ast/introspection.py')
-rw-r--r--mesonbuild/ast/introspection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py
index b6ec450..5ac6133 100644
--- a/mesonbuild/ast/introspection.py
+++ b/mesonbuild/ast/introspection.py
@@ -118,7 +118,7 @@ class IntrospectionInterpreter(AstInterpreter):
subproject_dir_abs = os.path.join(self.environment.get_source_dir(), self.subproject_dir)
subpr = os.path.join(subproject_dir_abs, dirname)
try:
- subi = IntrospectionInterpreter(subpr, '', self.backend, cross_file=self.cross_file, subproject=dirname, subproject_dir=self.subproject_dir, env=self.environment)
+ subi = IntrospectionInterpreter(subpr, '', self.backend, cross_file=self.cross_file, subproject=dirname, subproject_dir=self.subproject_dir, env=self.environment, visitors=self.visitors)
subi.analyze()
subi.project_data['name'] = dirname
self.project_data['subprojects'] += [subi.project_data]