Allow named set constructors. Addresses #983.

This commit is contained in:
Jon Siwek 2013-05-29 15:11:44 -05:00
parent a0ad87b4c2
commit b256642f27
7 changed files with 86 additions and 5 deletions

View file

@ -782,7 +782,8 @@ protected:
class SetConstructorExpr : public UnaryExpr {
public:
SetConstructorExpr(ListExpr* constructor_list, attr_list* attrs);
SetConstructorExpr(ListExpr* constructor_list, attr_list* attrs,
BroType* arg_type = 0);
~SetConstructorExpr() { Unref(attrs); }
Attributes* Attrs() { return attrs; }