aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-17 07:57:06 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-17 07:57:06 +0000
commit68b96cb4f8258c5120b8daec819cb8ae2456f399 (patch)
tree403b0993b7b42e3dc84a9cdbd502f824e02a7081 /rcfile_y.y
parentddb99a133d2301974d24b41b19210f3c03bc708c (diff)
downloadfetchmail-68b96cb4f8258c5120b8daec819cb8ae2456f399.tar.gz
fetchmail-68b96cb4f8258c5120b8daec819cb8ae2456f399.tar.bz2
fetchmail-68b96cb4f8258c5120b8daec819cb8ae2456f399.zip
Added forcecr option.
svn path=/trunk/; revision=963
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y6
1 files changed, 5 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index d9bf0ebc..f2e703a9 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -48,7 +48,7 @@ static void user_reset();
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
-%token NO KEEP FLUSH FETCHALL REWRITE STRIPCR DNS PORT UIDL
+%token NO KEEP FLUSH FETCHALL REWRITE FORCECR STRIPCR DNS PORT UIDL
%%
@@ -199,12 +199,14 @@ user_option : TO localnames HERE
| FLUSH {current.flush = FLAG_TRUE;}
| FETCHALL {current.fetchall = FLAG_TRUE;}
| REWRITE {current.rewrite = FLAG_TRUE;}
+ | FORCECR {current.forcecr = FLAG_TRUE;}
| STRIPCR {current.stripcr = FLAG_TRUE;}
| NO KEEP {current.keep = FLAG_FALSE;}
| NO FLUSH {current.flush = FLAG_FALSE;}
| NO FETCHALL {current.fetchall = FLAG_FALSE;}
| NO REWRITE {current.rewrite = FLAG_FALSE;}
+ | NO FORCECR {current.forcecr = FLAG_FALSE;}
| NO STRIPCR {current.stripcr = FLAG_FALSE;}
| LIMIT NUMBER {current.limit = $2;}
@@ -366,6 +368,7 @@ static void record_current(void)
FLAG_FORCE(flush);
FLAG_FORCE(fetchall);
FLAG_FORCE(rewrite);
+ FLAG_FORCE(forcecr);
FLAG_FORCE(stripcr);
FLAG_FORCE(limit);
FLAG_FORCE(fetchlimit);
@@ -408,6 +411,7 @@ void optmerge(struct query *h2, struct query *h1)
FLAG_MERGE(flush);
FLAG_MERGE(fetchall);
FLAG_MERGE(rewrite);
+ FLAG_MERGE(forcecr);
FLAG_MERGE(stripcr);
FLAG_MERGE(limit);
FLAG_MERGE(fetchlimit);