a major refactoring in the robust parser: bottom-up filtering and garbage collection for the chart

This commit is contained in:
kr.angelov
2012-10-25 14:42:53 +00:00
parent 619c341ee9
commit d185938952
8 changed files with 850 additions and 604 deletions

View File

@@ -251,6 +251,12 @@ gu_map_find_key(GuMap* map, const void* key)
return NULL;
}
bool
gu_map_has(GuMap* ht, const void* key)
{
size_t idx;
return gu_map_lookup(ht, key, &idx);
}
void*
gu_map_insert(GuMap* map, const void* key)