diff options
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/mformat.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mformat.py b/mesonbuild/mformat.py index 68c9a1f..5e37019 100644 --- a/mesonbuild/mformat.py +++ b/mesonbuild/mformat.py @@ -626,6 +626,7 @@ class ArgumentFormatter(FullAstVisitor): if need_comma and not has_trailing_comma: comma = mparser.SymbolNode(mparser.Token('comma', node.filename, 0, 0, 0, (0, 0), ',')) comma.condition_level = node.condition_level + comma.whitespaces = mparser.WhitespaceNode(mparser.Token('whitespace', node.filename, 0, 0, 0, (0, 0), '')) node.commas.append(comma) elif has_trailing_comma and not need_comma: node.commas.pop(-1) |