aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
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; }