[ 
https://bro-tracker.atlassian.net/browse/BIT-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Sommer updated BIT-67:
----------------------------

    Labels: language  (was: )

> Grammar ambiguity with "local" for introducing "when" variables
> ---------------------------------------------------------------
>
>                 Key: BIT-67
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-67
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>            Reporter: Vern Paxson
>              Labels: language
>
> Currently there are two ways in the grammar to parse "local", one as a 
> variable declaration (including a type, initialization, and attributes), and 
> the other as an expression (no type or attributes, just essentially an 
> initialization).  I believe we added this second to support introducing 
> variables to hold the delayed values resulting from "when" expressions.  
> However, this leads to parsing ambiguities and in particular the inability to 
> associate attributes with "local" declarations.  (One such attribute we need 
> is &raw_output.)  So we instead need to use a different keyword for "when" 
> values.



--
This message was sent by Atlassian JIRA
(v6.2-OD-09-036#6252)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to