diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-05-15 20:12:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-05-15 20:12:53 +0000 |
commit | dea547a71036ae3445a5a612f6afd00b76ed721a (patch) | |
tree | 21526ebcd03d92a894cdb61b36d33ae56b8c5684 /rcfile_l.l | |
parent | 3dd9a93bd23e0ad36e52ffd79efe2dcbdaf85272 (diff) | |
download | fetchmail-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.l | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 */ + + |