diff options
Diffstat (limited to 'dimension/parse.h')
-rw-r--r-- | dimension/parse.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dimension/parse.h b/dimension/parse.h index 6f8755d..6f5b981 100644 --- a/dimension/parse.h +++ b/dimension/parse.h @@ -115,8 +115,12 @@ void dmnsn_delete_symbol_table(dmnsn_symbol_table *symtable); void dmnsn_push_scope(dmnsn_symbol_table *symtable); void dmnsn_pop_scope(dmnsn_symbol_table *symtable); -void dmnsn_push_symbol(dmnsn_symbol_table *symtable, - const char *id, dmnsn_astnode value); +void dmnsn_local_symbol(dmnsn_symbol_table *symtable, + const char *id, dmnsn_astnode value); +void dmnsn_declare_symbol(dmnsn_symbol_table *symtable, + const char *id, dmnsn_astnode value); +void dmnsn_undef_symbol(dmnsn_symbol_table *symtable, const char *id); + dmnsn_astnode *dmnsn_find_symbol(dmnsn_symbol_table *symtable, const char *id); /* Evaluate an arithmetic expression */ |