/* Note: only one hash table can be implemented a single file. */#include"../symbols.h"#include"hash/hash_table_def.h"DEFINE_HASH_TABLE(fb_symbol_table)#include"hash/hash_table_impl.h"staticinlineintht_match(constvoid*key,size_tlen,fb_symbol_t*sym){returnlen==ht_key_len(sym)&&memcmp(key,ht_key(sym),len)==0;}staticinlineconstvoid*ht_key(fb_symbol_t*sym){returnsym->ident->text;}staticinlinesize_tht_key_len(fb_symbol_t*sym){fb_token_t*ident=sym->ident;return(size_t)ident->len;}