From c8f61a01ea1862d0c0a3ec4cc15c5d49e1366725 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 4 Nov 1999 13:51:52 +0000 Subject: Symbols are not scoped. --- conf/conf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/conf.h') 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 */ -- cgit v1.2.3