mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Enable declaration of set, vector, and table types in bifs.
Extends the possibility of declaring record types, e.g., type NAME: set; One can only *declare* but not *define* the type in the bif.
This commit is contained in:
parent
d95ac54579
commit
663552a3cd
2 changed files with 39 additions and 25 deletions
|
@ -73,6 +73,9 @@ HEX [0-9a-fA-F]+
|
|||
"enum" return check_c_mode(TOK_ENUM);
|
||||
"type" return check_c_mode(TOK_TYPE);
|
||||
"record" return check_c_mode(TOK_RECORD);
|
||||
"set" return check_c_mode(TOK_SET);
|
||||
"table" return check_c_mode(TOK_TABLE);
|
||||
"vector" return check_c_mode(TOK_VECTOR);
|
||||
"module" return check_c_mode(TOK_MODULE);
|
||||
|
||||
"@ARG@" return TOK_ARG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue