summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-11-23 02:52:08 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-23 02:52:08 +0100
commit36e6871a66b8b4b900748fff0ed416c93fdeb0cc (patch)
treeb44195d9edabfdb6172300509ad28e3102f20b57
parent2f6cfc04c066e12ea4271c52a7a881edf320d717 (diff)
WIP: fix filter/config.Y
-rw-r--r--filter/config.Y4
1 files 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); }