summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
diff options
context:
space:
mode:
authorVolker Weißmann <volker.weissmann@gmx.de>2025-06-02 18:04:50 +0200
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-06-09 21:01:09 +0300
commit4a57a5fd0cdd5064a03566f40b61c827f27ea529 (patch)
tree575074ebb07a3d786787e62c328c121653e53433 /mesonbuild/modules/python.py
parenta3f43cbc5b3738bd26f421d00c1b53736364954c (diff)
downloadmeson-4a57a5fd0cdd5064a03566f40b61c827f27ea529.tar.gz
AstInterpreter: Fix dead-code-crash
Without this commit, the rewriter and the static introspection tool crash if `meson.build` contains something like ```meson if false foo = not_defined endif ``` or ```meson if false message(not_defined) endif ``` While it could be argued, that you should not write stuff like this, this used to raise a `MesonBugException`, which we have to fix. Fixes #14667
Diffstat (limited to 'mesonbuild/modules/python.py')
0 files changed, 0 insertions, 0 deletions