aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-04 21:44:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-04 21:44:50 +0000
commitdba153ee6173bcc1e526163e7434d8a5915baf0b (patch)
tree2bd68e148356eb2ca2c2ac1c31f6056b7fbb6793 /rcfile_y.y
parentf7fa6d049541c5558289a5e885fc03ee111816e4 (diff)
downloadfetchmail-dba153ee6173bcc1e526163e7434d8a5915baf0b.tar.gz
fetchmail-dba153ee6173bcc1e526163e7434d8a5915baf0b.tar.bz2
fetchmail-dba153ee6173bcc1e526163e7434d8a5915baf0b.zip
RC file syntax change, folder->mailbox, remote->remotename.
svn path=/trunk/; revision=220
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y9
1 files changed, 5 insertions, 4 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index a899315d..94b81d8b 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -29,8 +29,8 @@ int yydebug; /* in case we didn't generate with -- debug */
char *sval;
}
-%token KW_SERVER KW_PROTOCOL KW_USERNAME KW_PASSWORD
-%token KW_REMOTEFOLDER KW_SMTPHOST KW_MDA KW_DEFAULTS
+%token KW_SERVER KW_PROTOCOL KW_LOCALNAME KW_REMOTENAME KW_PASSWORD
+%token KW_MAILBOX KW_SMTPHOST KW_MDA KW_DEFAULTS
%token <proto> KW_PROTO
%token <sval> PARAM_STRING
%token <flag> KW_KEEP KW_FLUSH KW_FETCHALL KW_REWRITE KW_PORT KW_SKIP
@@ -63,9 +63,10 @@ server_options: serv_option_clause
serv_option_clause:
KW_PROTOCOL KW_PROTO {prc_setproto($2);}
- | KW_USERNAME PARAM_STRING {prc_remotename($2);}
+ | KW_LOCALNAME PARAM_STRING {prc_localname($2);}
+ | KW_REMOTENAME PARAM_STRING {prc_remotename($2);}
| KW_PASSWORD PARAM_STRING {prc_setpassword($2);}
- | KW_REMOTEFOLDER PARAM_STRING {prc_setremote($2);}
+ | KW_MAILBOX PARAM_STRING {prc_setmailbox($2);}
| KW_SMTPHOST PARAM_STRING {prc_setsmtphost($2);}
| KW_MDA PARAM_STRING {prc_setmda($2);}
| KW_KEEP {prc_setkeep($1==FLAG_TRUE);}