Allow named vector constructors. Addresses #983.

This commit is contained in:
Jon Siwek 2013-05-30 10:57:28 -05:00
parent bcf5c41786
commit a66b7380b6
5 changed files with 61 additions and 17 deletions

View file

@ -818,7 +818,7 @@ protected:
class VectorConstructorExpr : public UnaryExpr {
public:
VectorConstructorExpr(ListExpr* constructor_list);
VectorConstructorExpr(ListExpr* constructor_list, BroType* arg_type = 0);
Val* Eval(Frame* f) const;