diff options
Diffstat (limited to 'mesonbuild/ast')
-rw-r--r-- | mesonbuild/ast/interpreter.py | 2 | ||||
-rw-r--r-- | mesonbuild/ast/introspection.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/ast/interpreter.py b/mesonbuild/ast/interpreter.py index 4d810fc..847f817 100644 --- a/mesonbuild/ast/interpreter.py +++ b/mesonbuild/ast/interpreter.py @@ -289,7 +289,7 @@ class AstInterpreter(interpreterbase.InterpreterBase): l = quick_resolve(node.left) r = quick_resolve(node.right) if isinstance(l, str) and isinstance(r, str): - result = l + r # String concatination detected + result = l + r # String concatenation detected else: result = self.flatten_args(l, include_unknown_args, id_loop_detect) + self.flatten_args(r, include_unknown_args, id_loop_detect) diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index aeb0400..eb9517c 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -35,7 +35,7 @@ class IntrospectionHelper: class IntrospectionInterpreter(AstInterpreter): # Interpreter to detect the options without a build directory - # Most of the code is stolen from interperter.Interpreter + # Most of the code is stolen from interpreter.Interpreter def __init__(self, source_root, subdir, backend, visitors=None, cross_file=None, subproject='', subproject_dir='subprojects', env=None): visitors = visitors if visitors is not None else [] super().__init__(source_root, subdir, visitors=visitors) @@ -161,7 +161,7 @@ class IntrospectionInterpreter(AstInterpreter): name = args[0] srcqueue = [node] - # Process the soruces BEFORE flattening the kwargs, to preserve the original nodes + # Process the sources BEFORE flattening the kwargs, to preserve the original nodes if 'sources' in kwargs: srcqueue += mesonlib.listify(kwargs['sources']) |