[Bro-Dev] #754: Complete implementation of switch statement
Bro Tracker
bro at tracker.bro-ids.org
Wed Jan 23 18:07:21 PST 2013
#754: Complete implementation of switch statement
----------------------------+------------------------
Reporter: seth | Owner: robin
Type: Merge Request | Status: closed
Priority: Normal | Milestone: Bro2.2
Component: Bro | Version: git/master
Resolution: fixed | Keywords: language
----------------------------+------------------------
Changes (by robin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:dcd675280e9d0b56db29b9e8d34f65b0120fa482/bro]:
{{{
#!CommitTicketReference repository="bro"
revision="dcd675280e9d0b56db29b9e8d34f65b0120fa482"
Merge remote-tracking branch 'origin/topic/jsiwek/no-switch-fallthrough'
* origin/topic/jsiwek/no-switch-fallthrough:
Add "fallthrough" keyword, require a flow statement to end case blocks.
Disable automatic case fallthrough in switch stmts. Addresses #754.
I've added a test for the error case where no break/fallthrough/return
is given.
Closes #754.
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/754#comment:31>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list