[Bro-Dev] #922: const local variables aren't constant

Bro Tracker bro at tracker.bro-ids.org
Thu Dec 13 13:13:14 PST 2012

#922: const local variables aren't constant
  Reporter:  vern     |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  Normal   |  Milestone:  Bro2.2
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:

Comment (by jsiwek):

 In [290c2a0b4df2db38ade684cf386a5c9b6b271d9e/bro]:
 #!CommitTicketReference repository="bro"
 Make const variables actually constant.  Addresses #922.

 Both local and global variables declared with "const" could be modified,
 but now expressions that would modify them should generate an error
 message at parse-time.

Ticket URL: <http://tracker.bro-ids.org/bro/ticket/922#comment:1>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker

More information about the bro-dev mailing list