aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-05-15 20:12:53 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-05-15 20:12:53 +0000
commitdea547a71036ae3445a5a612f6afd00b76ed721a (patch)
tree21526ebcd03d92a894cdb61b36d33ae56b8c5684 /rcfile_l.l
parent3dd9a93bd23e0ad36e52ffd79efe2dcbdaf85272 (diff)
downloadfetchmail-dea547a71036ae3445a5a612f6afd00b76ed721a.tar.gz
fetchmail-dea547a71036ae3445a5a612f6afd00b76ed721a.tar.bz2
fetchmail-dea547a71036ae3445a5a612f6afd00b76ed721a.zip
Add multiple-folder support.
svn path=/trunk/; revision=1012
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l11
1 files changed, 9 insertions, 2 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index 4fa4185e..d52d6389 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -41,7 +41,7 @@ envelope { return ENVELOPE; }
user(name)? { return USERNAME; }
pass(word)? { return PASSWORD; }
-remote(folder)? { return FOLDER; }
+folder(s) { return FOLDER; }
smtp(host)? { return SMTPHOST; }
mda { return MDA; }
pre(connect) { return PRECONNECT; }
@@ -55,7 +55,7 @@ to { return TO; }
= { return MAP; }
"*" { return WILDCARD; }
-no/[kfrsdu ] { return NO;}
+no/[kfrsdu ].* { return NO;}
keep { return KEEP; }
flush { return FLUSH; }
@@ -83,6 +83,11 @@ options {/* EMPTY */}
(etrn)|(ETRN) { yylval.proto = P_ETRN; return PROTO; }
(kpop)|(KPOP) { return KPOP; }
+remote(folder)? {
+ fprintf(stderr,
+ "fetchmail: `remote' keyword is gone, use `folder'\n");
+ }
+
(#.*)?\\?\n { prc_lineno++; } /* newline is ignored */
@@ -106,3 +111,5 @@ options {/* EMPTY */}
[ \t\r]+ ; /* whitespace */
+
+