diff options
author | Wolfgang Stöggl <c72578@yahoo.de> | 2019-11-06 14:49:00 +0100 |
---|---|---|
committer | Michael Hirsch, Ph.D <10931741+scivision@users.noreply.github.com> | 2019-11-06 09:55:30 -0500 |
commit | f037e7ef4538b37625c0893d32cad36e72648c8a (patch) | |
tree | 90c594eac530b600ac64168e50f2f8a298ebff56 /mesonbuild/ast | |
parent | f56ef583d3c8ecda7725ca04b48011c9081a7349 (diff) | |
download | meson-f037e7ef4538b37625c0893d32cad36e72648c8a.zip meson-f037e7ef4538b37625c0893d32cad36e72648c8a.tar.gz meson-f037e7ef4538b37625c0893d32cad36e72648c8a.tar.bz2 |
Fix typos found by codespell
- Typos were found by codespell v1.16.0
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']) |