[Bro-Dev] Misleading error message

Jim Mellander jmellander at lbl.gov
Mon Jan 29 13:15:26 PST 2018

Hi all:

I was tinkering with the sumstats code, and inadvertantly deleted the final
"}" closing out the last function.  When running the code, the misleading
error message is received:

error in
line 8: syntax error, at or near "module"

presumably due to the function still being open when the next policy script
is loaded.  Wouldn't it be more reasonable to check at the end of each
script when loaded that there are no dangling functions, expressions, etc.

Jim Mellander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20180129/b18e58b4/attachment.html 

More information about the bro-dev mailing list