MXS-1345: Allow an empty list of functions
The function type rule now accepts an empty list of functions, allowing all functions to be blocked by defining an empty function type rule and setting action=allow.
This commit is contained in:
@ -114,6 +114,7 @@ mandatory:
|
||||
| FWTOK_REGEX FWTOK_QUOTEDSTR {if (!define_regex_rule(scanner, $2)){YYERROR;}}
|
||||
| FWTOK_COLUMNS columnlist
|
||||
| FWTOK_FUNCTION functionlist
|
||||
| FWTOK_FUNCTION {if (!define_function_rule(scanner, "")){YYERROR;}}
|
||||
;
|
||||
|
||||
columnlist:
|
||||
|
Reference in New Issue
Block a user