aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y8
1 files changed, 5 insertions, 3 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 69813a0e..c3e5f51f 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -77,9 +77,11 @@ statement_list : statement
| statement_list statement
;
-/* future global options should also have the form SET <name> <value> */
-statement : SET LOGFILE MAP STRING {logfile = xstrdup($4);}
- | SET DAEMON NUMBER {poll_interval = $3;}
+optmap : MAP | /* EMPTY */;
+
+/* future global options should also have the form SET <name> optmap <value> */
+statement : SET LOGFILE optmap STRING {logfile = xstrdup($4);}
+ | SET DAEMON optmap NUMBER {poll_interval = $4;}
| SET SYSLOG {use_syslog = TRUE;}
/*