[Bro-Dev] identifier not exported
Robin Sommer
robin at icir.org
Thu Oct 6 11:48:25 PDT 2011
On Thu, Oct 06, 2011 at 11:27 -0400, you wrote:
> 1317914544.693438 Reporter::ERROR identifier is not exported: -
This should fix it:
diff --git a/src/Scope.cc b/src/Scope.cc
index 4ed8def..6491ca7 100644
--- a/src/Scope.cc
+++ b/src/Scope.cc
@@ -138,7 +138,7 @@ ID* lookup_ID(const char* name, const char* curr_module, bool no_global,
if ( id )
{
if ( need_export && ! id->IsExport() && ! in_debug )
- reporter->Error("identifier is not exported:",
+ reporter->Error("identifier is not exported: %s",
fullname.c_str());
Ref(id);
--
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org
More information about the bro-dev
mailing list