diff options
author | David Shah <davey1576@gmail.com> | 2018-06-18 11:43:59 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-18 11:43:59 +0200 |
commit | fc7490370b3f81c4b0285fee545142aeb106979b (patch) | |
tree | eb371031babdaefb30f5149da889bf0695d92ca4 /frontend | |
parent | b728cb71d11c557da25e438d27c58d62c86b5a3d (diff) | |
download | nextpnr-fc7490370b3f81c4b0285fee545142aeb106979b.tar.gz nextpnr-fc7490370b3f81c4b0285fee545142aeb106979b.tar.bz2 nextpnr-fc7490370b3f81c4b0285fee545142aeb106979b.zip |
Improving code style and fixing dummy
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/json/jsonparse.cc | 7 |
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("]")); } } } |