diff options
Diffstat (limited to 'frontends/ilang/parser.y')
-rw-r--r-- | frontends/ilang/parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y index bb42c5ec7..a7ce4bc7a 100644 --- a/frontends/ilang/parser.y +++ b/frontends/ilang/parser.y @@ -202,9 +202,9 @@ cell_body: delete $5; } | cell_body TOK_CONNECT TOK_ID sigspec EOL { - if (current_cell->connections_.count($3) != 0) + 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->connections()[$3] = *$4; delete $4; free($3); } | |