aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-10-16 13:01:06 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-10-16 13:01:06 +0000
commit580682dcaae8305ac9ca9c5e1011ef963d86f5d1 (patch)
tree8d5ccac1987c1e986400daa4f5a411bde885ecf9 /rcfile_y.y
parent380a2d1a3a08c38a6280e1a1bc376a4c3b79e21d (diff)
downloadfetchmail-580682dcaae8305ac9ca9c5e1011ef963d86f5d1.tar.gz
fetchmail-580682dcaae8305ac9ca9c5e1011ef963d86f5d1.tar.bz2
fetchmail-580682dcaae8305ac9ca9c5e1011ef963d86f5d1.zip
Now we can use --limit with daemon mode.
svn path=/trunk/; revision=2091
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 6cca3390..4bb5fdb4 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -64,7 +64,7 @@ extern char * yytext;
%token NETSEC INTERFACE MONITOR
%token IS HERE THERE TO MAP WILDCARD
%token BATCHLIMIT FETCHLIMIT EXPUNGE
-%token SET LOGFILE DAEMON SYSLOG IDFILE INVISIBLE POSTMASTER
+%token SET LOGFILE DAEMON SYSLOG IDFILE INVISIBLE POSTMASTER WARNINGS
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
@@ -319,6 +319,7 @@ user_option : TO localnames HERE
| NO MIMEDECODE {current.mimedecode = FLAG_FALSE;}
| LIMIT NUMBER {current.limit = NUM_VALUE($2);}
+ | WARNINGS NUMBER {current.warnings = NUM_VALUE($2);}
| FETCHLIMIT NUMBER {current.fetchlimit = NUM_VALUE($2);}
| BATCHLIMIT NUMBER {current.batchlimit = NUM_VALUE($2);}
| EXPUNGE NUMBER {current.expunge = NUM_VALUE($2);}