summaryrefslogtreecommitdiff
path: root/frontends/ilang
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-26 15:57:57 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-26 15:58:23 +0200
commitf8fdc47d3361c1a3445a9357ca26cfe75907d6b0 (patch)
treee4b1c2f97db2c317f8b986635141dfd7bb8e78d8 /frontends/ilang
parentb7dda723022ad00c6c0089be888eab319953faa8 (diff)
Manual fixes for new cell connections API
Diffstat (limited to 'frontends/ilang')
-rw-r--r--frontends/ilang/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y
index a7ce4bc7..952dd6a3 100644
--- a/frontends/ilang/parser.y
+++ b/frontends/ilang/parser.y
@@ -204,7 +204,7 @@ cell_body:
cell_body TOK_CONNECT TOK_ID sigspec EOL {
if (current_cell->connections().count($3) != 0)
rtlil_frontend_ilang_yyerror(stringf("ilang error: redefinition of cell port %s.", $3).c_str());
- current_cell->connections()[$3] = *$4;
+ current_cell->set($3, *$4);
delete $4;
free($3);
} |