diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-08 08:21:38 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-08 08:21:38 +0000 |
commit | b4fe63bde9631e072f26911363739c0042d8b2db (patch) | |
tree | d763b83948983c0f4a592c36dd0c66622d88ef7c /rcfile_y.y | |
parent | 9edf372fb9e281930eaabd090731f9a5c312f7fb (diff) | |
download | fetchmail-b4fe63bde9631e072f26911363739c0042d8b2db.tar.gz fetchmail-b4fe63bde9631e072f26911363739c0042d8b2db.tar.bz2 fetchmail-b4fe63bde9631e072f26911363739c0042d8b2db.zip |
More English-like keywords.
svn path=/trunk/; revision=249
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -29,7 +29,8 @@ int yydebug; /* in case we didn't generate with -- debug */ char *sval; } -%token SERVER PROTOCOL USERNAME PASSWORD FOLDER SMTPHOST MDA DEFAULTS IS HERE +%token DEFAULTS SERVER PROTOCOL +%token USERNAME PASSWORD FOLDER SMTPHOST MDA IS HERE THERE %token <proto> PROTO %token <sval> STRING %token <flag> KEEP FLUSH FETCHALL REWRITE PORT SKIP @@ -69,11 +70,16 @@ userspecs : user1opts {prc_register(); prc_reset();} | explicits ; -explicits : userdef {prc_register(); prc_reset();} - | explicits userdef {prc_register(); prc_reset();} +explicits : explicitdef {prc_register(); prc_reset();} + | explicits explicitdef {prc_register(); prc_reset();} ; -userdef : USERNAME STRING user0opts {prc_setremote($2);} +explicitdef : userdef user0opts + ; + +userdef : USERNAME STRING {prc_setremote($2);} + | USERNAME STRING HERE {prc_setlocal($2);} + | USERNAME STRING THERE {prc_setremote($2);} ; user0opts : /* EMPTY */ @@ -86,6 +92,7 @@ user1opts : user_option user_option : IS STRING {prc_setlocal($2);} | IS STRING HERE {prc_setlocal($2);} + | IS STRING THERE {prc_setremote($2);} | PASSWORD STRING {prc_setpassword($2);} | FOLDER STRING {prc_setfolder($2);} | SMTPHOST STRING {prc_setsmtphost($2);} |