[Bro-Dev] [Bro-Commits] [git/bro] rpc: Add support for enum with explicit enumerator values. (0d37c42)

Seth Hall seth at icir.org
Fri Dec 10 06:48:22 PST 2010


On Dec 9, 2010, at 9:30 PM, Gregor Maier wrote:

>        redef enum foo += {
>            BAR_E,      # value will be 12
>            BAR_F = 5,  # value will be  5
>            BAR_G,      # value will be  6
>        };


Quick question, what if this situation is encountered but the enums being autoincremented go up to 11?  Will it skip and make the next one 13?

  .Seth


More information about the bro-dev mailing list