From 36e6871a66b8b4b900748fff0ed416c93fdeb0cc Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 23 Nov 2023 02:52:08 +0100 Subject: WIP: fix filter/config.Y --- filter/config.Y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filter/config.Y b/filter/config.Y index 393bcd9a..7a2b6e38 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -1076,12 +1076,12 @@ term: | term_dot_method - | EMPTY { $$ = f_new_inst(FI_CONSTANT, val_empty(T_EMPTY_LIST); } + | EMPTY { $$ = f_new_inst(FI_CONSTANT, val_empty(T_EMPTY_LIST)); } | '+' EMPTY '+' { $$ = f_new_inst(FI_CONSTANT, val_empty(T_PATH)); } | '-' EMPTY '-' { $$ = f_new_inst(FI_CONSTANT, val_empty(T_CLIST)); } | '-' '-' EMPTY '-' '-' { $$ = f_new_inst(FI_CONSTANT, val_empty(T_ECLIST)); } | '-' '-' '-' EMPTY '-' '-' '-' { $$ = f_new_inst(FI_CONSTANT, val_empty(T_LCLIST)); } - | '-' '-' '-' '-' EMPTY '-' '-' '-' '-' { $$ = f_new_inst(FI_CONSTANT, val_empty(T_TLVLIST); } + | '-' '-' '-' '-' EMPTY '-' '-' '-' '-' { $$ = f_new_inst(FI_CONSTANT, val_empty(T_TLVLIST)); } | PREPEND '(' term ',' term ')' { $$ = f_dispatch_method_x("prepend", $3->type, $3, $5); } | ADD '(' term ',' term ')' { $$ = f_dispatch_method_x("add", $3->type, $3, $5); } -- cgit v1.2.3