hold standard library references in pic_state

This commit is contained in:
Yuichi Nishiwaki
2014-09-01 13:01:17 +09:00
parent fb28cd003e
commit a227498f5b
3 changed files with 11 additions and 7 deletions
+3
View File
@@ -85,6 +85,9 @@ typedef struct {
pic_sym rDEFINE_SYNTAX, rIMPORT, rEXPORT;
pic_sym rDEFINE_LIBRARY, rIN_LIBRARY;
struct pic_lib *PICRIN_BASE;
struct pic_lib *PICRIN_USER;
xhash syms; /* name to symbol */
xhash sym_names; /* symbol to name */
int sym_cnt;