From ed3bd0c5048cac6def24c3d70f3eaaf449a38a82 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 28 Sep 1997 20:07:16 +0000 Subject: Added --expunge option for Richard Kooidjman. svn path=/trunk/; revision=1430 --- rcfile_y.y | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 63a4543d..29a64b0e 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -59,7 +59,8 @@ extern char * yytext; %token ENVELOPE USERNAME PASSWORD FOLDER SMTPHOST MDA %token PRECONNECT POSTCONNECT LIMIT %token IS HERE THERE TO MAP WILDCARD -%token SET BATCHLIMIT FETCHLIMIT LOGFILE DAEMON SYSLOG INTERFACE MONITOR +%token BATCHLIMIT FETCHLIMIT EXPUNGE +%token SET LOGFILE DAEMON SYSLOG INTERFACE MONITOR %token PROTO %token STRING %token NUMBER @@ -229,6 +230,7 @@ user_option : TO localnames HERE | LIMIT NUMBER {current.limit = $2;} | FETCHLIMIT NUMBER {current.fetchlimit = $2;} | BATCHLIMIT NUMBER {current.batchlimit = $2;} + | EXPUNGE NUMBER {current.expunge = $2;} ; %% @@ -425,6 +427,7 @@ static void record_current(void) FLAG_FORCE(limit); FLAG_FORCE(fetchlimit); FLAG_FORCE(batchlimit); + FLAG_FORCE(expunge); #undef FLAG_FORCE @@ -475,6 +478,7 @@ void optmerge(struct query *h2, struct query *h1) FLAG_MERGE(limit); FLAG_MERGE(fetchlimit); FLAG_MERGE(batchlimit); + FLAG_MERGE(expunge); #undef FLAG_MERGE } -- cgit v1.2.3