mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Remove deprecated attributes.
To be more exact: &encrypt, &mergeable, &rotate_interval, &rotate_size Also removes no longer used redef-able constants: log_rotate_interval, log_max_size, log_encryption_key GH-243
This commit is contained in:
parent
0080c5ea09
commit
1ff2894af2
17 changed files with 17 additions and 561 deletions
19
src/parse.y
19
src/parse.y
|
@ -5,7 +5,7 @@
|
|||
// Switching parser table type fixes ambiguity problems.
|
||||
%define lr.type ielr
|
||||
|
||||
%expect 129
|
||||
%expect 103
|
||||
|
||||
%token TOK_ADD TOK_ADD_TO TOK_ADDR TOK_ANY
|
||||
%token TOK_ATENDIF TOK_ATELSE TOK_ATIF TOK_ATIFDEF TOK_ATIFNDEF
|
||||
|
@ -21,11 +21,10 @@
|
|||
%token TOK_TIME TOK_TIMEOUT TOK_TIMER TOK_TYPE TOK_UNION TOK_VECTOR TOK_WHEN
|
||||
%token TOK_WHILE TOK_AS TOK_IS
|
||||
|
||||
%token TOK_ATTR_ADD_FUNC TOK_ATTR_ENCRYPT TOK_ATTR_DEFAULT
|
||||
%token TOK_ATTR_OPTIONAL TOK_ATTR_REDEF TOK_ATTR_ROTATE_INTERVAL
|
||||
%token TOK_ATTR_ROTATE_SIZE TOK_ATTR_DEL_FUNC TOK_ATTR_EXPIRE_FUNC
|
||||
%token TOK_ATTR_ADD_FUNC TOK_ATTR_DEFAULT TOK_ATTR_OPTIONAL TOK_ATTR_REDEF
|
||||
%token TOK_ATTR_DEL_FUNC TOK_ATTR_EXPIRE_FUNC
|
||||
%token TOK_ATTR_EXPIRE_CREATE TOK_ATTR_EXPIRE_READ TOK_ATTR_EXPIRE_WRITE
|
||||
%token TOK_ATTR_RAW_OUTPUT TOK_ATTR_MERGEABLE
|
||||
%token TOK_ATTR_RAW_OUTPUT
|
||||
%token TOK_ATTR_PRIORITY TOK_ATTR_LOG TOK_ATTR_ERROR_HANDLER
|
||||
%token TOK_ATTR_TYPE_COLUMN TOK_ATTR_DEPRECATED
|
||||
|
||||
|
@ -1291,10 +1290,6 @@ attr:
|
|||
{ $$ = new Attr(ATTR_OPTIONAL); }
|
||||
| TOK_ATTR_REDEF
|
||||
{ $$ = new Attr(ATTR_REDEF); }
|
||||
| TOK_ATTR_ROTATE_INTERVAL '=' expr
|
||||
{ $$ = new Attr(ATTR_ROTATE_INTERVAL, $3); }
|
||||
| TOK_ATTR_ROTATE_SIZE '=' expr
|
||||
{ $$ = new Attr(ATTR_ROTATE_SIZE, $3); }
|
||||
| TOK_ATTR_ADD_FUNC '=' expr
|
||||
{ $$ = new Attr(ATTR_ADD_FUNC, $3); }
|
||||
| TOK_ATTR_DEL_FUNC '=' expr
|
||||
|
@ -1307,14 +1302,8 @@ attr:
|
|||
{ $$ = new Attr(ATTR_EXPIRE_READ, $3); }
|
||||
| TOK_ATTR_EXPIRE_WRITE '=' expr
|
||||
{ $$ = new Attr(ATTR_EXPIRE_WRITE, $3); }
|
||||
| TOK_ATTR_ENCRYPT
|
||||
{ $$ = new Attr(ATTR_ENCRYPT); }
|
||||
| TOK_ATTR_ENCRYPT '=' expr
|
||||
{ $$ = new Attr(ATTR_ENCRYPT, $3); }
|
||||
| TOK_ATTR_RAW_OUTPUT
|
||||
{ $$ = new Attr(ATTR_RAW_OUTPUT); }
|
||||
| TOK_ATTR_MERGEABLE
|
||||
{ $$ = new Attr(ATTR_MERGEABLE); }
|
||||
| TOK_ATTR_PRIORITY '=' expr
|
||||
{ $$ = new Attr(ATTR_PRIORITY, $3); }
|
||||
| TOK_ATTR_TYPE_COLUMN '=' expr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue