diff --git a/net_scope.cc b/net_scope.cc index 225a8b26e..c4aae46fa 100644 --- a/net_scope.cc +++ b/net_scope.cc @@ -822,6 +822,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; }