summaryrefslogtreecommitdiffstats
path: root/conf/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf/conf.h')
-rw-r--r--conf/conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/conf.h b/conf/conf.h
index d62f138..0908324 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -50,6 +50,7 @@ extern int (*cf_read_hook)(byte *buf, unsigned int max);
struct symbol {
struct symbol *next;
+ struct sym_scope *scope;
int class;
int aux;
void *aux2;
@@ -75,6 +76,8 @@ void cf_lex_init(int is_cli);
struct symbol *cf_find_symbol(byte *c);
struct symbol *cf_default_name(char *prefix, int *counter);
void cf_define_symbol(struct symbol *symbol, int type, void *def);
+void cf_push_context(struct symbol *);
+void cf_pop_context(void);
/* Parser */