aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-24 00:18:21 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-24 00:18:21 +0000
commitc753710356d36bb624bd975a8409a6d794c00dda (patch)
tree69d2cfa94a0e1e61ead44130bcbf25f586f6baed /rcfile_y.y
parentd2d2a311c916b79faff67d00ba0cc5b9e3a0bdb8 (diff)
downloadfetchmail-c753710356d36bb624bd975a8409a6d794c00dda.tar.gz
fetchmail-c753710356d36bb624bd975a8409a6d794c00dda.tar.bz2
fetchmail-c753710356d36bb624bd975a8409a6d794c00dda.zip
Incorporated Henrik Storner's mimedecode patch.
svn path=/trunk/; revision=1719
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 9c536bdf..49e85fc4 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -72,7 +72,7 @@ extern char * yytext;
%token <sval> STRING
%token <number> NUMBER
%token NO KEEP FLUSH FETCHALL REWRITE FORCECR STRIPCR PASS8BITS DROPSTATUS
-%token DNS SERVICE PORT UIDL INTERVAL
+%token DNS SERVICE PORT UIDL INTERVAL MIMEDECODE
%%
@@ -283,6 +283,7 @@ user_option : TO localnames HERE
| STRIPCR {current.stripcr = FLAG_TRUE;}
| PASS8BITS {current.pass8bits = FLAG_TRUE;}
| DROPSTATUS {current.dropstatus = FLAG_TRUE;}
+ | MIMEDECODE {current.mimedecode = FLAG_TRUE;}
| NO KEEP {current.keep = FLAG_FALSE;}
| NO FLUSH {current.flush = FLAG_FALSE;}
@@ -292,6 +293,7 @@ user_option : TO localnames HERE
| NO STRIPCR {current.stripcr = FLAG_FALSE;}
| NO PASS8BITS {current.pass8bits = FLAG_FALSE;}
| NO DROPSTATUS {current.dropstatus = FLAG_FALSE;}
+ | NO MIMEDECODE {current.mimedecode = FLAG_FALSE;}
| LIMIT NUMBER {current.limit = NUM_VALUE($2);}
| FETCHLIMIT NUMBER {current.fetchlimit = NUM_VALUE($2);}
@@ -500,6 +502,7 @@ static void record_current(void)
FLAG_FORCE(stripcr);
FLAG_FORCE(pass8bits);
FLAG_FORCE(dropstatus);
+ FLAG_FORCE(mimedecode);
FLAG_FORCE(limit);
FLAG_FORCE(fetchlimit);
FLAG_FORCE(batchlimit);
@@ -560,6 +563,7 @@ void optmerge(struct query *h2, struct query *h1)
FLAG_MERGE(stripcr);
FLAG_MERGE(pass8bits);
FLAG_MERGE(dropstatus);
+ FLAG_MERGE(mimedecode);
FLAG_MERGE(limit);
FLAG_MERGE(fetchlimit);
FLAG_MERGE(batchlimit);