diff options
author | Maria Matejka <mq@jmq.cz> | 2019-06-25 16:18:06 +0200 |
---|---|---|
committer | Maria Matejka <mq@jmq.cz> | 2019-06-25 16:18:06 +0200 |
commit | 63e7620462b80c9c6bbbd4f128b6816e0748d6c6 (patch) | |
tree | 8f7169ca0fc3f94f089b90ea9b8e5137a68944c6 /conf | |
parent | a84b8b6ebb2b6825b7059e34cfaafe405ab0117e (diff) |
Conf/Filters: Moved argument count to conf scope
Diffstat (limited to 'conf')
-rw-r--r-- | conf/cf-lex.l | 1 | ||||
-rw-r--r-- | conf/conf.h | 1 |
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 */ }; |