ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/config-parser.y
(Generate patch)

Comparing hopm/trunk/src/config-parser.y (file contents):
Revision 5067 by michael, Mon Dec 22 14:36:44 2014 UTC vs.
Revision 5068 by michael, Mon Dec 22 14:49:06 2014 UTC

# Line 89 | Line 89 | void *tmp;        /* Variable to tempora
89  
90   %%
91  
92 < config:     /* empty */
93 <          |config config_items
92 > config:
93 >          | config config_items
94            ;
95  
96   config_items: irc_entry     |
# Line 105 | Line 105 | config_items: irc_entry     |
105  
106   options_entry: OPTIONS '{' options_items '}' ';';
107  
108 < options_items: /* Empty */                |
109 <               options_items options_item |
108 > options_items: options_items options_item |
109                 options_item;
110  
111   options_item: options_negcache |
# Line 488 | Line 487 | scanner_protocol: PROTOCOL '=' PROTOCOLT
487  
488   opm_entry: OPM '{' opm_items  '}' ';' ;
489  
490 < opm_items: /* Empty */        |
492 <           opm_items opm_item |
490 > opm_items: opm_items opm_item |
491             opm_item;
492  
493   opm_item: opm_dnsbl_from      |
# Line 538 | Line 536 | opm_blacklist_entry:
536   }
537   BLACKLIST '{' blacklist_items '}' ';';
538  
539 < blacklist_items: /* Empty */                 |
540 <              blacklist_items blacklist_item |
543 <              blacklist_item;
539 > blacklist_items: blacklist_items blacklist_item |
540 >                 blacklist_item;
541  
542   blacklist_item: blacklist_name        |
543                  blacklist_type        |
# Line 582 | Line 579 | blacklist_ban_unknown: BAN_UNKNOWN '=' N
579  
580   blacklist_reply: REPLY '{' blacklist_reply_items '}' ';';
581  
582 < blacklist_reply_items: /* Empty */                                |
586 <                       blacklist_reply_items blacklist_reply_item |
582 > blacklist_reply_items: blacklist_reply_items blacklist_reply_item |
583                         blacklist_reply_item;
584  
585   blacklist_reply_item: NUMBER '=' STRING ';'
# Line 606 | Line 602 | blacklist_reply_item: NUMBER '=' STRING
602  
603   exempt_entry: EXEMPT '{' exempt_items  '}' ';' ;
604  
605 < exempt_items: /* Empty */              |
610 <              exempt_items exempt_item |
605 > exempt_items: exempt_items exempt_item |
606                exempt_item;
607  
608   exempt_item: exempt_mask  |

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines