diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2024-08-06 10:15:33 -0400 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-08-20 09:38:27 -0700 |
| commit | d9ba42217f49c4bd4caeac9050cc475e3453f75e (patch) | |
| tree | 3c3bbc263fa8cde298236bfb7c9e58aeb4d4d490 /mesonbuild/mparser.py | |
| parent | 18f4a058bf7e4b7eb32553b10fe3a37e1c22aa15 (diff) | |
| download | meson-d9ba42217f49c4bd4caeac9050cc475e3453f75e.tar.gz | |
format: fix indentation of comments
Fixes #13508
- Fix indentation of comments in arrays
- Fix indentation of comments in dicts
- Fix indentation of comments in if clauses
- Fix indentation of comments in foreach clauses
Diffstat (limited to 'mesonbuild/mparser.py')
| -rw-r--r-- | mesonbuild/mparser.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mparser.py b/mesonbuild/mparser.py index 50d720313..fc37d2a54 100644 --- a/mesonbuild/mparser.py +++ b/mesonbuild/mparser.py @@ -266,6 +266,7 @@ class WhitespaceNode(BaseNode): super().__init__(token.lineno, token.colno, token.filename) self.value = '' self.append(token) + self.block_indent = False def append(self, token: Token[str]) -> None: self.value += token.value |
