]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Multiple items in area {} :-)
authorOndrej Filip <feela@network.cz>
Sat, 3 Jun 2000 08:42:04 +0000 (08:42 +0000)
committerOndrej Filip <feela@network.cz>
Sat, 3 Jun 2000 08:42:04 +0000 (08:42 +0000)
proto/ospf/config.Y

index 3e13eaf9a8ba3c2f92790da882bd4d1e4a4978e1..fe5b33df84847639e7f07b7068bdaafce3705b9d 100644 (file)
@@ -40,7 +40,7 @@ ospf_proto:
    ospf_proto_start proto_name '{'
  | ospf_proto proto_item ';'
  | ospf_proto RFC1583COMPAT bool ';' { OSPF_CFG->rfc1583 = $3; }
- | ospf_proto ospf_area '}'
+ | ospf_proto ospf_area
 ;
 
 ospf_area_start: AREA idval '{' {
@@ -54,9 +54,15 @@ ospf_area_start: AREA idval '{' {
 ;
 
 ospf_area: ospf_area_start
- | ospf_area_start ospf_area_item
+ | ospf_area_start ospf_area_list
 ;
 
+ospf_area_list: /*EMPTY*/ | ospf_area_opts '}'
+;
+
+ospf_area_opts:
+ | ospf_area_opts ospf_area_item
+
 ospf_area_item:
  | STUB bool ';' { this_area->stub = $2 ; }
  | TICK NUM ';' { this_area->tick = $2 ; }