We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2fbe55 commit ff18571Copy full SHA for ff18571
source/parse.h
@@ -2196,7 +2196,9 @@ auto postfix_expression_node::to_string() const
2196
2197
for (auto const& x : ops) {
2198
assert (x.op);
2199
- ret += x.op->as_string_view();
+ if(x.op->as_string_view() != "(") { // Brackets are handled by the expression list.
2200
+ ret += x.op->as_string_view();
2201
+ }
2202
if (x.id_expr) {
2203
ret += x.id_expr->to_string();
2204
}
0 commit comments