aboutsummaryrefslogtreecommitdiffstats
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/json/jsonparse.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc
index 26919d24..3d13a512 100644
--- a/frontend/json/jsonparse.cc
+++ b/frontend/json/jsonparse.cc
@@ -547,8 +547,8 @@ void json_import_cell(Context *ctx, string modname,
for (int paramid = 0; paramid < GetSize(param_node->data_dict_keys);
paramid++) {
- json_import_cell_params(ctx, modname, cell, param_node,
- &cell->params, paramid);
+ json_import_cell_params(ctx, modname, cell, param_node, &cell->params,
+ paramid);
}
attr_node = cell_node->data_dict.at("attributes");
@@ -741,10 +741,9 @@ void json_import(Context *ctx, 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("]"));
}
}
}
@@ -793,8 +792,7 @@ struct JsonFrontend
// JsonFrontend() : Frontend("json", "read JSON file") { }
JsonFrontend(void) {}
virtual void help() {}
- virtual void execute(std::istream *&f, std::string &filename,
- Context *ctx)
+ virtual void execute(std::istream *&f, std::string &filename, Context *ctx)
{
// log_header(ctx, "Executing JSON frontend.\n");