Include named events in checks for name collisions.
(cherry picked from commit cefcffecda)
This commit is contained in:
parent
1ff4bfa63d
commit
4c428a536e
|
|
@ -814,6 +814,8 @@ bool NetScope::symbol_exists(perm_string sym)
|
|||
return true;
|
||||
if (typedefs_.find(sym) != typedefs_.end())
|
||||
return true;
|
||||
if (find_event(sym))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue