summaryrefslogtreecommitdiff
path: root/conf/confbase.Y
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-06-13 10:51:03 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2023-09-12 15:36:46 +0200
commit51f2e7afaf069508685281e8c1b8bb1ceda79d8f (patch)
tree1e6c2fbb1bfa49b543033193adca354c04247e21 /conf/confbase.Y
parent5951dfbd5ed21d973e7627740c069d6612d7b899 (diff)
Conf: Symbol manipulation gets its context explicitly
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r--conf/confbase.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y
index 0c2807dc..df1e038b 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -159,7 +159,7 @@ definition:
DEFINE symbol '=' term ';' {
struct f_val *val = cfg_allocz(sizeof(struct f_val));
*val = cf_eval($4, T_VOID);
- cf_define_symbol($2, SYM_CONSTANT | val->type, val, val);
+ cf_define_symbol(new_config, $2, SYM_CONSTANT | val->type, val, val);
}
;