aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-19 14:51:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-19 14:51:00 +0000
commit73799e479c5ff0f5788212cc06c35792c2da3149 (patch)
treebde01323a8d059a82c72b290b336ba12b3bad80b /rcfile_l.l
parentc2398336ad81e3d7e9ff6ce76528bcc934367e40 (diff)
downloadfetchmail-73799e479c5ff0f5788212cc06c35792c2da3149.tar.gz
fetchmail-73799e479c5ff0f5788212cc06c35792c2da3149.tar.bz2
fetchmail-73799e479c5ff0f5788212cc06c35792c2da3149.zip
Freeze bug fixes befoire adding more features.
svn path=/trunk/; revision=38
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l14
1 files changed, 8 insertions, 6 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index f5281f78..d6c0d9ff 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -32,12 +32,14 @@ pass(word)? { return KW_PASSWORD; }
remote(folder)? { return KW_REMOTEFOLDER; }
local(folder)? { return KW_LOCALFOLDER; }
mda { return KW_MDA; }
-keep { yylval.flag = 1; return KW_KEEP; }
-flush { yylval.flag = 1; return KW_FLUSH; }
-fetchall { yylval.flag = 1; return KW_FETCHALL; }
-nokeep { yylval.flag = -1; return KW_KEEP; }
-noflush { yylval.flag = -1; return KW_FLUSH; }
-nofetchall { yylval.flag = -1; return KW_FETCHALL; }
+keep { yylval.flag = TRUE; return KW_KEEP; }
+flush { yylval.flag = TRUE; return KW_FLUSH; }
+fetchall { yylval.flag = TRUE; return KW_FETCHALL; }
+rewrite { yylval.flag = TRUE; return KW_REWRITE; }
+nokeep { yylval.flag = FALSE; return KW_KEEP; }
+noflush { yylval.flag = FALSE; return KW_FLUSH; }
+nofetchall { yylval.flag = FALSE; return KW_FETCHALL; }
+norewrite { yylval.flag = FALSE; return KW_REWRITE; }
(pop2)|(POP2) { yylval.proto = P_POP2; return PROTO_POP2; }
(pop3)|(POP3) { yylval.proto = P_POP3; return PROTO_POP3; }