aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-23 05:45:15 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-23 05:45:15 +0000
commita3140279cc8c41a6d4cf169c3f6e94411fec4f95 (patch)
treeb6792b857061a77596ebfcd01b90f10b9359299d /rcfile_y.y
parente2914b619afd334ae57f10e8af35c9c43088f24b (diff)
downloadfetchmail-a3140279cc8c41a6d4cf169c3f6e94411fec4f95.tar.gz
fetchmail-a3140279cc8c41a6d4cf169c3f6e94411fec4f95.tar.bz2
fetchmail-a3140279cc8c41a6d4cf169c3f6e94411fec4f95.zip
Introduced George Sipe's -I and -M options.
svn path=/trunk/; revision=673
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 3c0f0484..94070861 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 FETCHLIMIT LOGFILE
+%token SET BATCHLIMIT FETCHLIMIT LOGFILE INTERFACE MONITOR
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
@@ -67,6 +67,8 @@ statement_list : statement
/* future global options should also have the form SET <name> <value> */
statement : SET BATCHLIMIT MAP NUMBER {batchlimit = $4;}
| SET LOGFILE MAP STRING {logfile = xstrdup($4);}
+ | SET INTERFACE MAP STRING {interface = xstrdup($4);}
+ | SET MONITOR MAP STRING {monitor = xstrdup($4);}
/*
* The way the next two productions are written depends on the fact that