diff options
author | Vern Paxson <vern@ee.lbl.gov> | 2000-08-21 16:38:02 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 2000-08-21 16:38:02 +0000 |
commit | 27a4656e92b48bd9025c57ac336947dd1e26cd56 (patch) | |
tree | 55390d1173e517a23a3efd61c02595fec3144c23 /flexdef.h | |
parent | 74656baab5891186cccfe78058862ac0f7f2c65d (diff) |
moved symbol table definitions from flexdef.h into sym.c
Diffstat (limited to 'flexdef.h')
-rw-r--r-- | flexdef.h | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -314,30 +314,6 @@ /* Declarations for global variables. */ -/* Variables for symbol tables: - * sctbl - start-condition symbol table - * ndtbl - name-definition symbol table - * ccltab - character class text symbol table - */ - -struct hash_entry - { - struct hash_entry *prev, *next; - char *name; - char *str_val; - int int_val; - } ; - -typedef struct hash_entry **hash_table; - -#define NAME_TABLE_HASH_SIZE 101 -#define START_COND_HASH_SIZE 101 -#define CCL_HASH_SIZE 101 - -extern struct hash_entry *ndtbl[NAME_TABLE_HASH_SIZE]; -extern struct hash_entry *sctbl[START_COND_HASH_SIZE]; -extern struct hash_entry *ccltab[CCL_HASH_SIZE]; - /* Variables for flags: * printstats - if true (-v), dump statistics @@ -995,18 +971,12 @@ extern int yywrap PROTO((void)); /* from file sym.c */ -/* Add symbol and definitions to symbol table. */ -extern int addsym PROTO((register char[], char*, int, hash_table, int)); - /* Save the text of a character class. */ extern void cclinstal PROTO ((Char [], int)); /* Lookup the number associated with character class. */ extern int ccllookup PROTO((Char [])); -/* Find symbol in symbol table. */ -extern struct hash_entry *findsym PROTO((register char[], hash_table, int )); - extern void ndinstal PROTO((char[], Char[])); /* install a name definition */ extern Char *ndlookup PROTO((char[])); /* lookup a name definition */ |