Skip to content

Commit 1c603ca

Browse files
committed
Undo unneeded tweak to pretty printing
Don't need to remove the `;` here
1 parent 36c5a9e commit 1c603ca

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/parse.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4902,10 +4902,6 @@ auto pretty_print_visualize(primary_expression_node const& n, int indent)
49024902
ret += try_pretty_print_visualize<primary_expression_node::inspect >(n.expr, indent);
49034903
ret += try_pretty_print_visualize<primary_expression_node::literal >(n.expr, indent);
49044904

4905-
if (ret.ends_with(';')) {
4906-
ret.resize( ret.size()-1 );
4907-
}
4908-
49094905
return ret;
49104906
}
49114907

0 commit comments

Comments
 (0)