mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Removed at() method from RTLIL::IdString
This commit is contained in:
parent
04727c7e0f
commit
8e7361f128
3 changed files with 7 additions and 8 deletions
|
@ -490,9 +490,9 @@ namespace {
|
|||
}
|
||||
|
||||
for (auto &conn : cell->connections()) {
|
||||
if (conn.first.size() != 2 || conn.first.at(0) != '\\')
|
||||
if (conn.first.size() != 2 || conn.first[0] != '\\')
|
||||
error(__LINE__);
|
||||
if (strchr(ports, conn.first.at(1)) == NULL)
|
||||
if (strchr(ports, conn.first[1]) == NULL)
|
||||
error(__LINE__);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue