aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/interpreter.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/ast/interpreter.py')
-rw-r--r--mesonbuild/ast/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/interpreter.py b/mesonbuild/ast/interpreter.py
index 8893e9b..81f6d58 100644
--- a/mesonbuild/ast/interpreter.py
+++ b/mesonbuild/ast/interpreter.py
@@ -191,7 +191,7 @@ class AstInterpreter(interpreterbase.InterpreterBase):
else:
temp_args += [i]
for i in temp_args:
- if isinstance(i, mparser.ElementaryNode):
+ if isinstance(i, mparser.ElementaryNode) and not isinstance(i, mparser.IdNode):
flattend_args += [i.value]
elif isinstance(i, (str, bool, int, float)) or include_unknown_args:
flattend_args += [i]