aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-13 20:51:59 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-13 20:51:59 +0000
commit0f3e9e0c241c4152147d9be8b15ac367109c4146 (patch)
treee3ff191d956ce716a84503f54bebca2c83dc6b8a /rcfile_y.y
parenta6198d3fbc69f04653d3f13ae5feb3d151bb775d (diff)
downloadfetchmail-0f3e9e0c241c4152147d9be8b15ac367109c4146.tar.gz
fetchmail-0f3e9e0c241c4152147d9be8b15ac367109c4146.tar.bz2
fetchmail-0f3e9e0c241c4152147d9be8b15ac367109c4146.zip
Change handling of skip option.
svn path=/trunk/; revision=538
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index ea95dfad..22fbd8db 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -41,13 +41,13 @@ static void prc_reset();
char *sval;
}
-%token DEFAULTS POLL PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS
+%token DEFAULTS POLL SKIP PROTOCOL AUTHENTICATE TIMEOUT KPOP KERBEROS
%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE TO MAP LIMIT
%token SET BATCHLIMIT
%token <proto> PROTO
%token <sval> STRING
%token <number> NUMBER
-%token <flag> KEEP FLUSH FETCHALL REWRITE PORT SKIP
+%token <flag> KEEP FLUSH FETCHALL REWRITE PORT
/* these are actually used by the lexer */
%token FLAG_TRUE 2
@@ -70,7 +70,7 @@ statement : define_server serverspecs userspecs
define_server : POLL STRING {strcpy(current.servername, $2);}
| SKIP STRING {strcpy(current.servername, $2);
- current.skip=($1==FLAG_TRUE);}
+ current.skip = TRUE;}
| DEFAULTS {strcpy(current.servername,"defaults");}
;