From dea547a71036ae3445a5a612f6afd00b76ed721a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 15 May 1997 20:12:53 +0000 Subject: Add multiple-folder support. svn path=/trunk/; revision=1012 --- rcfile_l.l | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'rcfile_l.l') 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 */ + + -- cgit v1.2.3