summaryrefslogtreecommitdiff
path: root/conf/confbase.Y
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-06-26 14:29:03 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-06-26 14:29:03 +0200
commitf851f0d7e30cbd1e2ba20a5bf06a584acc136828 (patch)
treed9f5b0fb7df29698ed34821d37486e55d4061ace /conf/confbase.Y
parent1771f70d7473b8c8e0c6bd47d5c35cc5fbe7eb19 (diff)
Config: Dropping CF_ADDTO.
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r--conf/confbase.Y5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y
index 72f56f1e..8fd72e5e 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -113,12 +113,13 @@ conf_entries:
| conf_entries conf
;
-CF_ADDTO(conf, ';')
+conf: ';' ;
/* Constant expressions */
-CF_ADDTO(conf, definition)
+conf: definition ;
+
definition:
DEFINE SYM '=' term ';' {
struct f_val *val = cfg_alloc(sizeof(struct f_val));