aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreterbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/interpreterbase.py')
-rw-r--r--mesonbuild/interpreterbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreterbase.py b/mesonbuild/interpreterbase.py
index 082515c..70751c1 100644
--- a/mesonbuild/interpreterbase.py
+++ b/mesonbuild/interpreterbase.py
@@ -383,7 +383,7 @@ class InterpreterBase:
try:
self.ast = mparser.Parser(code, self.subdir).parse()
except mesonlib.MesonException as me:
- me.file = environment.build_filename
+ me.file = mesonfile
raise me
def join_path_strings(self, args):