aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-27 14:51:23 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-27 14:51:23 +0000
commitf9103441391f9a083d718ca0ef2724640e67d5c3 (patch)
treecd1974f4175f9c4e087861b43c1411b441936c34 /rcfile_y.y
parent570b125f6a2bf1e1e7eff3185afb01ca9f946549 (diff)
downloadfetchmail-f9103441391f9a083d718ca0ef2724640e67d5c3.tar.gz
fetchmail-f9103441391f9a083d718ca0ef2724640e67d5c3.tar.bz2
fetchmail-f9103441391f9a083d718ca0ef2724640e67d5c3.zip
Added `logfile' keyword to rc syntax.
svn path=/trunk/; revision=571
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 d22efa44..010568b2 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -43,7 +43,7 @@ static void prc_reset();
%token DEFAULTS POLL SKIP AKA PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS
%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE TO MAP LIMIT
-%token SET BATCHLIMIT
+%token SET BATCHLIMIT LOGFILE
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
@@ -65,6 +65,7 @@ statement_list : statement
/* future global options should also have the form SET <name> <value> */
statement : SET BATCHLIMIT MAP NUMBER {batchlimit = $4;}
+ | SET LOGFILE STRING {logfile = xstrdup($3);}
/*
* The way the next two productions are written depends on the fact that