[ 
https://bro-tracker.atlassian.net/browse/BIT-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516#comment-15516
 ] 

Seth Hall commented on BIT-67:
------------------------------

This one seems to have slipped through the cracks.  Should it be merged?

> 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
>
> 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
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to