aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Dupak <dev@jakubdupak.com>2022-11-16 14:03:07 +0100
committerJakub Dupak <dev@jakubdupak.com>2022-11-16 17:59:39 +0100
commitb0ec92f7d4b577ff483e3d8992d4ea43f59dbfeb (patch)
tree1663a9fef7962c26a66841a307355d8388f470ca /gcc
parentfc944a02419c633a04390d1c8df0684587f87fb7 (diff)
downloadgcc-b0ec92f7d4b577ff483e3d8992d4ea43f59dbfeb.zip
gcc-b0ec92f7d4b577ff483e3d8992d4ea43f59dbfeb.tar.gz
gcc-b0ec92f7d4b577ff483e3d8992d4ea43f59dbfeb.tar.bz2
ast: Dump remove /* stmp */ comment to not clutter the dump
Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-ast-dump.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-ast-dump.cc b/gcc/rust/ast/rust-ast-dump.cc
index 477805f..9ec847c 100644
--- a/gcc/rust/ast/rust-ast-dump.cc
+++ b/gcc/rust/ast/rust-ast-dump.cc
@@ -848,7 +848,7 @@ Dump::visit (BlockExpr &expr)
stream << "{\n";
indentation.increment ();
- visit_items_as_lines (expr.get_statements (), "; /* stmt */");
+ visit_items_as_lines (expr.get_statements (), ";");
if (expr.has_tail_expr ())
visit_as_line (expr.get_tail_expr (), " /* tail expr */\n");
@@ -1205,7 +1205,6 @@ Dump::visit (TypeAlias &type_alias)
visit (type_alias.get_where_clause ());
stream << " = ";
visit (type_alias.get_type_aliased ());
- stream << ";\n";
}
void