Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Build help needed

2006-07-30 by manu@netbsd.org

Jack L. Stone <jacks@...> wrote:

> bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
> conf_yacc.y:225.11: parse error, unexpected ":", expecting ";" or "|"
> conf_yacc.y:505.16: parse error, unexpected ":", expecting ";" or "|"
> conf_yacc.y:505.34-507.37: $3 of `list_clause' has no declared type
> conf_yacc.y:513.22-516.39: $3 of `list_clause' has no declared type

Here is the fix for the first two ones. I don't see the problem for the
two last issues, but maybe they are consequences.

Index: conf_yacc.y
===================================================================
RCS file: /cvsroot/milter-greylist/conf_yacc.y,v
retrieving revision 1.52
diff -U2 -r1.52 conf_yacc.y
--- conf_yacc.y 28 Jul 2006 16:44:17 -0000      1.52
+++ conf_yacc.y 30 Jul 2006 20:19:05 -0000
@@ -223,4 +223,5 @@
        ;
 dump_no_time_translation:      DUMP_NO_TIME_TRANSLATION        {
conf.c_dump_no_time_translation = 1; }
+       ;
 logexpired:   LOGEXPIRED { conf.c_logexpired = 1; }
        ;
@@ -502,6 +503,6 @@
                                acl_add_list(quotepath(path, $2,
QSTRLEN));
                        }
-
-netblock_clause:       ADDR IPADDR CIDR{
+       ;
+netblock_clause:       ADDR IPADDR CIDR {
                                acl_add_netblock(SA(&$2),
                            sizeof(struct sockaddr_in), $3);


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.