Revision 14f6aca4

View differences:

filter/config.Y
273 273
 ;
274 274

  
275 275
switch_body: /* EMPTY */ { $$ = NULL; }
276
 | set_item ':' cmds switch_body {
277
     $$ = $1;
278
     $$->data = $3;
279
     $$->left = $4;
276
 | switch_body set_item ':' cmds  {
277
     $$ = $2;
278
     $$->data = $4;
279
     $$->left = $1;
280 280
   }
281
 | ELSE ':' cmds {
281
 | switch_body ELSE ':' cmds {
282 282
     $$ = f_new_tree(); 
283 283
     $$->from.type = T_VOID; 
284 284
     $$->to.type = T_VOID;
285
     $$->data = $3;
285
     $$->data = $4;
286
     $$->left = $1;
286 287
   }
287 288
 ;
288 289

  

Also available in: Unified diff