From 74631396d18f4c5b025e9cbbb70d0103c783037e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 26 Oct 1996 02:37:50 +0000 Subject: Added filtering by length. Ugh. svn path=/trunk/; revision=390 --- rcfile_y.y | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 6582a31c..ef0ba68c 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -31,7 +31,7 @@ static int prc_errflag; } %token DEFAULTS SERVER PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS -%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE TO MAP +%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE TO MAP LIMIT %token PROTO %token STRING %token NUMBER @@ -127,6 +127,7 @@ user_option : TO mapping_list HERE | FLUSH {current.flush = ($1==FLAG_TRUE);} | FETCHALL {current.fetchall = ($1==FLAG_TRUE);} | REWRITE {current.norewrite = ($1==FLAG_TRUE);} + | LIMIT NUMBER {current.limit = $2;} ; %% @@ -283,6 +284,7 @@ int prc_register() FLAG_FORCE(port); FLAG_FORCE(authenticate); FLAG_FORCE(timeout); + FLAG_FORCE(limit); #undef FLAG_FORCE (void) hostalloc(¤t); @@ -315,6 +317,7 @@ struct hostrec *h2; FLAG_MERGE(port); FLAG_MERGE(authenticate); FLAG_MERGE(timeout); + FLAG_MERGE(limit); #undef FLAG_MERGE } -- cgit v1.2.3