aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/json/jsonparse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/json/jsonparse.cc')
-rw-r--r--frontend/json/jsonparse.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc
index 0b06f980..3c060fd7 100644
--- a/frontend/json/jsonparse.cc
+++ b/frontend/json/jsonparse.cc
@@ -741,9 +741,10 @@ void json_import(Design *design, string modname, JsonNode *node)
netnames.resize(netid + 1);
netnames.at(netid) =
basename +
- (num_bits == 1 ? "" : std::string("[") +
- std::to_string(i) +
- std::string("]"));
+ (num_bits == 1
+ ? ""
+ : std::string("[") + std::to_string(i) +
+ std::string("]"));
}
}
}