summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/cf-lex.l1
-rw-r--r--conf/conf.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index 09f3db8d..0aa9273f 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -742,6 +742,7 @@ cf_push_scope(struct symbol *sym)
conf_this_scope = s;
s->active = 1;
s->name = sym;
+ s->slots = 0;
}
/**
diff --git a/conf/conf.h b/conf/conf.h
index d88d9a44..708a1034 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -126,6 +126,7 @@ struct symbol {
struct sym_scope {
struct sym_scope *next; /* Next on scope stack */
struct symbol *name; /* Name of this scope */
+ uint slots; /* Variable slots */
int active; /* Currently entered */
};