diff options
author | Martin Mares <mj@ucw.cz> | 1999-11-04 14:51:52 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-11-04 14:51:52 +0100 |
commit | c8f61a01ea1862d0c0a3ec4cc15c5d49e1366725 (patch) | |
tree | 85d7ce4123225624aac20938074bb1d8c0b46634 /conf/conf.h | |
parent | 91447965fed2728a1f877e21f7f58aab4c0022c7 (diff) | |
download | bird-c8f61a01ea1862d0c0a3ec4cc15c5d49e1366725.tar bird-c8f61a01ea1862d0c0a3ec4cc15c5d49e1366725.zip |
Symbols are not scoped.
Diffstat (limited to 'conf/conf.h')
-rw-r--r-- | conf/conf.h | 3 |
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 */ |