mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 04:43:40 +00:00
parent
438bcc68c0
commit
801ecc0e1d
4 changed files with 14 additions and 19 deletions
|
@ -103,7 +103,7 @@ static bool isUserType(std::string &s)
|
|||
{
|
||||
// check current scope then outer scopes for a name
|
||||
for (auto it = user_type_stack.rbegin(); it != user_type_stack.rend(); ++it) {
|
||||
if ((*it)->count(s) > 0) {
|
||||
if (it->count(s) > 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue