diff options
Diffstat (limited to 'filter/config.Y')
-rw-r--r-- | filter/config.Y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/config.Y b/filter/config.Y index 8ff20466..b9aa67f8 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -305,11 +305,11 @@ switch_body: /* EMPTY */ { $$ = NULL; } $$->data = $4; $$->left = $1; } - | switch_body ELSE ':' cmds { + | switch_body ELSECOL cmds { $$ = f_new_tree(); $$->from.type = T_VOID; $$->to.type = T_VOID; - $$->data = $4; + $$->data = $3; $$->left = $1; } ; |