refactor and bughunt unsuccessfully trying to find out why

h_first(2, ...) won't give me length-2 strings
This commit is contained in:
Sven M. Hallberg 2013-05-22 22:45:25 +02:00
parent 289c57aef5
commit 2c8d76d7ea
3 changed files with 27 additions and 56 deletions

View file

@ -46,6 +46,7 @@ void h_stringmap_put_char(HCFStringMap *m, uint8_t c, void *v);
void h_stringmap_update(HCFStringMap *m, const HCFStringMap *n);
void *h_stringmap_get(const HCFStringMap *m, const uint8_t *str, size_t n, bool end);
bool h_stringmap_present(const HCFStringMap *m, const uint8_t *str, size_t n, bool end);
bool h_stringmap_present_epsilon(const HCFStringMap *m);
/* Convert 'parser' into CFG representation by desugaring and compiling the set