summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-04 19:10:52 +0200
committerOndrej Filip <feela@network.cz>2000-06-04 19:10:52 +0200
commit71f7d043a6f03b5d5cd0701bb679b914b1bf47d1 (patch)
tree2534c043208660892a88f0a92a1c99cb66cba156
parent54e55169da71a6e6e2d8f9fbc0123297301217d7 (diff)
downloadbird-71f7d043a6f03b5d5cd0701bb679b914b1bf47d1.tar
bird-71f7d043a6f03b5d5cd0701bb679b914b1bf47d1.zip
:-) No bison does not have any comment to my code. :-)
-rw-r--r--proto/ospf/config.Y7
1 files changed, 3 insertions, 4 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 9ea82f5..7deeb24 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -54,21 +54,20 @@ ospf_area_start: AREA idval '{' {
}
;
-ospf_area: /* EMPTY */
- | ospf_area_start ospf_area_opts
+ospf_area: ospf_area_start ospf_area_opts
;
ospf_area_opts:
| ospf_area_opts ospf_area_item
ospf_area_item:
- | STUB bool ';' { this_area->stub = $2 ; }
+ STUB bool ';' { this_area->stub = $2 ; }
| TICK NUM ';' { this_area->tick = $2 ; }
| ospf_iface_list '}'
;
ospf_iface_item:
- | COST NUM { OSPF_PATT->cost = $2 ; }
+ COST NUM { OSPF_PATT->cost = $2 ; }
| HELLO NUM { OSPF_PATT->helloint = $2 ; }
| RETRANSMIT NUM { OSPF_PATT->rxmtint = $2 ; }
| TRANSIT DELAY NUM { OSPF_PATT->inftransdelay = $3 ; }