From cc79d1c1b90132ec8e873a725bc9fdf68a95b5fc Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Tue, 16 Nov 2021 15:24:28 -0500 Subject: [PATCH] pass metadata: fixed some of the output formatting (cherry picked from commit d8b85e124783b55f414ccfd0513211daa8a94cdb) --- backends/metadata/metadata.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backends/metadata/metadata.cc b/backends/metadata/metadata.cc index a189494b7..eea8e8338 100644 --- a/backends/metadata/metadata.cc +++ b/backends/metadata/metadata.cc @@ -117,6 +117,7 @@ struct MetadataWriter first_sort = false; } + f << stringf("\n"); f << stringf(" ],\n"); f << stringf(" \"connections\": [\n"); @@ -155,6 +156,7 @@ struct MetadataWriter first_port = false; } + f << stringf("\n"); f << stringf(" ],\n \"cells\": [\n"); bool first_cell{true}; @@ -166,6 +168,7 @@ struct MetadataWriter first_cell = false; } + f << stringf("\n"); f << stringf(" ]\n"); f << stringf(" }"); } -- 2.30.2