[Bro-Dev] #67: Grammar ambiguity with "local" for introducing "when" variables
Bro Tracker
bro at tracker.bro-ids.org
Tue Dec 11 12:04:00 PST 2012
#67: Grammar ambiguity with "local" for introducing "when" variables
----------------------+------------------
Reporter: vern | Owner:
Type: Problem | Status: seen
Priority: Normal | Milestone:
Component: Bro | Version:
Resolution: | Keywords:
----------------------+------------------
Comment (by jsiwek):
In [784adf3f6ba781f0ade427d8f7177c540d8f7100/bro]:
{{{
#!CommitTicketReference repository="bro"
revision="784adf3f6ba781f0ade427d8f7177c540d8f7100"
Fixes to attribute propagation issues for variables and types.
- A type declarations w/ attributes will propogate them to local
and global variable declarations that use the type. Addresses #248.
- A local or global variable declared with attributes will propogate
them values that are later assigned to it. Addresses #151, #67, #474.
Addresses #327 in that it should be a more consistent approach to
attribute propagation than before: the rules are that they can migrate
in one direction: type -> variable -> value. It also clears up the
most common usage issue: the expectation that attributes in a local or
global variable declaration apply to the identifier in that declaration
such that later values assigned to it are subjected to those attributes.
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/67#comment:2>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list