From fc7490370b3f81c4b0285fee545142aeb106979b Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 18 Jun 2018 11:43:59 +0200 Subject: Improving code style and fixing dummy Signed-off-by: David Shah --- frontend/json/jsonparse.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'frontend/json/jsonparse.cc') 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("]")); } } } -- cgit v1.2.3