mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Allow named vector constructors. Addresses #983.
This commit is contained in:
parent
bcf5c41786
commit
a66b7380b6
5 changed files with 61 additions and 17 deletions
|
@ -555,6 +555,9 @@ expr:
|
|||
break;
|
||||
|
||||
case TYPE_VECTOR:
|
||||
$$ = new VectorConstructorExpr($4, ctor_type);
|
||||
break;
|
||||
|
||||
default:
|
||||
$1->Error("constructor type not implemented");
|
||||
YYERROR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue