add global identifier table

This commit is contained in:
Yuichi Nishiwaki
2013-11-26 08:30:30 -08:00
parent ce3e2b939c
commit a2e1f21b29
3 changed files with 14 additions and 1 deletions
+5 -1
View File
@@ -52,13 +52,17 @@ typedef struct {
size_t slen, scapa;
int uniq_sym_count;
/* positive for variables, negative for macros (bitwise-not) */
struct xhash *global_tbl;
pic_value *globals;
size_t glen, gcapa;
struct pic_proc **macros;
size_t mlen, mcapa;
/* positive for variables, negative for macros (bitwise-not) */
struct xhash *var_tbl;
struct pic_syntax **stx;
size_t xlen, xcapa;
struct pic_irep **irep;
size_t ilen, icapa;
pic_value *pool;