Skip to content

Commit

Permalink
Undo unneeded tweak to pretty printing
Browse files Browse the repository at this point in the history
Don't need to remove the `;` here
  • Loading branch information
hsutter committed Aug 30, 2024
1 parent 36c5a9e commit 1c603ca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -4902,10 +4902,6 @@ auto pretty_print_visualize(primary_expression_node const& n, int indent)
ret += try_pretty_print_visualize<primary_expression_node::inspect >(n.expr, indent);
ret += try_pretty_print_visualize<primary_expression_node::literal >(n.expr, indent);

if (ret.ends_with(';')) {
ret.resize( ret.size()-1 );
}

return ret;
}

Expand Down

0 comments on commit 1c603ca

Please sign in to comment.