aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-02-14 18:01:47 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-02-14 18:01:47 +0000
commit48731164d436f1dfec6e9acfa2a6bb09e98cfb81 (patch)
tree4378b64dd3700eade5234e5c1c5674036a14e006 /rcfile_y.y
parentecfd83a0fd58ac1790f031b82db1bc9e56f6f058 (diff)
downloadfetchmail-48731164d436f1dfec6e9acfa2a6bb09e98cfb81.tar.gz
fetchmail-48731164d436f1dfec6e9acfa2a6bb09e98cfb81.tar.bz2
fetchmail-48731164d436f1dfec6e9acfa2a6bb09e98cfb81.zip
Deprecate the old popclient syntax and produce a warning.
svn path=/trunk/; revision=881
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y6
1 files changed, 5 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 7face2c3..84c0d000 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -133,7 +133,11 @@ serv_option : AKA alias_list
* to keep working.
*/
userspecs : user1opts {record_current(); user_reset();}
- | user1opts explicits {record_current(); user_reset();}
+ | user1opts explicits
+ {
+ record_current(); user_reset();
+ fprintf(stderr, "Warning: user entry with no `user' keyword\n");
+ }
| explicits
;