aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-08-10 06:32:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-08-10 06:32:50 +0000
commit323690fb5b17d29a69d072cca03c5a08b38d3ea8 (patch)
treee27c491e804eab7bff0e62e03190b487f4ca4f39 /rcfile_y.y
parent7bacc310d866ae2c2c5ff08e59aa85477933ad7e (diff)
downloadfetchmail-323690fb5b17d29a69d072cca03c5a08b38d3ea8.tar.gz
fetchmail-323690fb5b17d29a69d072cca03c5a08b38d3ea8.tar.bz2
fetchmail-323690fb5b17d29a69d072cca03c5a08b38d3ea8.zip
Forestall lots of newbie questions.
svn path=/trunk/; revision=1255
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 5e8a470b..16a4f25b 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -89,6 +89,10 @@ statement : SET LOGFILE MAP STRING {logfile = xstrdup($4);}
*/
| define_server serverspecs {record_current();}
| define_server serverspecs userspecs
+
+/* detect and complain about the most common user error */
+ | define_server serverspecs userspecs serv_option
+ {yyerror("server option after user options");}
;
define_server : POLL STRING {reset_server($2, FALSE);}