Update liblex and libds.

This commit is contained in:
Danila Fedorin 2018-03-24 16:55:49 -07:00
parent 7afe1a37e4
commit dfcda0d6c3
3 changed files with 3 additions and 3 deletions

2
external/libds vendored

@ -1 +1 @@
Subproject commit 320c747c2dffa65feb6ee15d25ec0be70c7896fb
Subproject commit aae676c70ce87762374a869f600393b8b6ad5857

2
external/liblex vendored

@ -1 +1 @@
Subproject commit 27db224a792f6ca01c63c8dfd2fcb458132cddbf
Subproject commit ff819aabab386eead700be33817c814c8f630194

View File

@ -10,7 +10,7 @@ void libab_table_init(libab_table* table) {
libab_table_entry* libab_table_search_filter(libab_table* table, const char* string, void* data, compare_func compare) {
void* to_return = NULL;
do {
to_return = ht_get_filter(&table->table, string, data, compare);
to_return = ht_find(&table->table, string, data, compare);
table = table->parent;
} while(table && to_return == NULL);
return to_return;