From 54f81620fae6f46c55a930a348008e11c75b4f88 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 18 Dec 1996 05:06:19 +0000 Subject: Added `fetchlimit'. svn path=/trunk/; revision=657 --- 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 b9a97435..3c0f0484 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -44,7 +44,7 @@ static void prc_reset(); %token DEFAULTS POLL SKIP AKA PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS %token ENVELOPE USERNAME PASSWORD FOLDER SMTPHOST MDA LIMIT %token IS HERE THERE TO MAP WILDCARD -%token SET BATCHLIMIT LOGFILE +%token SET BATCHLIMIT FETCHLIMIT LOGFILE %token PROTO %token STRING %token NUMBER @@ -171,6 +171,7 @@ user_option : TO localnames HERE | FETCHALL {current.fetchall = ($1==FLAG_TRUE);} | REWRITE {current.norewrite = ($1==FLAG_TRUE);} | LIMIT NUMBER {current.limit = $2;} + | FETCHLIMIT NUMBER {current.fetchlimit = $2;} ; %% @@ -329,6 +330,7 @@ static void prc_register(void) FLAG_FORCE(authenticate); FLAG_FORCE(timeout); FLAG_FORCE(limit); + FLAG_FORCE(fetchlimit); #undef FLAG_FORCE (void) hostalloc(¤t); @@ -358,6 +360,7 @@ void optmerge(struct query *h2, struct query *h1) FLAG_MERGE(authenticate); FLAG_MERGE(timeout); FLAG_MERGE(limit); + FLAG_MERGE(fetchlimit); #undef FLAG_MERGE } -- cgit v1.2.3