aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mconf.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/mconf.py
parent40ff089e6920b462c7579ebed362103fc6b50808 (diff)
downloadmeson-cacc585b44d11ed680e6d3ad6c716b38bd8818a1.zip
meson-cacc585b44d11ed680e6d3ad6c716b38bd8818a1.tar.gz
meson-cacc585b44d11ed680e6d3ad6c716b38bd8818a1.tar.bz2
ast: fix #5376
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r--mesonbuild/mconf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index cd9d35a..3b50d55 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -14,6 +14,7 @@
import os
from . import coredata, environment, mesonlib, build, mintro, mlog
+from .ast import AstIDGenerator
def add_arguments(parser):
coredata.register_builtin_arguments(parser)
@@ -52,7 +53,7 @@ class Conf:
# Make sure that log entries in other parts of meson don't interfere with the JSON output
mlog.disable()
self.source_dir = os.path.abspath(os.path.realpath(self.build_dir))
- intr = mintro.IntrospectionInterpreter(self.source_dir, '', 'ninja')
+ intr = mintro.IntrospectionInterpreter(self.source_dir, '', 'ninja', visitors = [AstIDGenerator()])
intr.analyze()
# Reenable logging just in case
mlog.enable()