diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-06-13 12:32:36 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2024-02-26 10:03:51 -0500 |
commit | c25f0b1d5483bb9471e313f52d0376bb391577e2 (patch) | |
tree | 547477566d3005172ce82544e6bbc03d38180cc1 | |
parent | 5654f03450e6ed0745a9429e578344dd4e581fc9 (diff) | |
download | meson-c25f0b1d5483bb9471e313f52d0376bb391577e2.zip meson-c25f0b1d5483bb9471e313f52d0376bb391577e2.tar.gz meson-c25f0b1d5483bb9471e313f52d0376bb391577e2.tar.bz2 |
printer: notin operator should be printed as "not in"
-rw-r--r-- | mesonbuild/ast/printer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/printer.py b/mesonbuild/ast/printer.py index 459912f..ddeaf44 100644 --- a/mesonbuild/ast/printer.py +++ b/mesonbuild/ast/printer.py @@ -123,7 +123,7 @@ class AstPrinter(AstVisitor): def visit_ComparisonNode(self, node: mparser.ComparisonNode) -> None: node.left.accept(self) - self.append_padded(node.ctype, node) + self.append_padded(node.ctype if node.ctype != 'notin' else 'not in', node) node.lineno = self.curr_line or node.lineno node.right.accept(self) |