diff --git a/source/parse.h b/source/parse.h index fe2994d6a..63924a06e 100644 --- a/source/parse.h +++ b/source/parse.h @@ -4902,10 +4902,6 @@ auto pretty_print_visualize(primary_expression_node const& n, int indent) ret += try_pretty_print_visualize(n.expr, indent); ret += try_pretty_print_visualize(n.expr, indent); - if (ret.ends_with(';')) { - ret.resize( ret.size()-1 ); - } - return ret; }