On 2/7/2013 9:00 AM, Seth Hall wrote:

  * All consts in export sections must be tagged with &redef.


Is that actually supposed to be the thing about making options that alter script behavior be consts with &redefs as opposed to globals to prevent runtime modification?

Because there's places where it makes sense for something to be const without &redef. E.g.:

    module Math; export { const PI = 3.14; }

Scripts in base/protocols (dns/syslog/ssl/modbus/socks) have consts of that style.

    Jon
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to