aboutsummaryrefslogtreecommitdiffstats
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/json/jsonparse.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc
index 3c060fd7..0b06f980 100644
--- a/frontend/json/jsonparse.cc
+++ b/frontend/json/jsonparse.cc
@@ -741,10 +741,9 @@ 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("]"));
}
}
}