Fix bug in table lookups.

This commit is contained in:
Danila Fedorin 2018-08-18 17:30:33 -07:00
parent 8c9acafc93
commit 01720914e0

View File

@ -67,7 +67,7 @@ libab_table_entry* libab_table_search_entry_operator(libab_table* table,
} else if (type == OPERATOR_INFIX) {
entry = libab_table_search_filter(table, string, NULL,
libab_table_compare_op_infix);
} else if (type == OPERATOR_PREFIX) {
} else if (type == OPERATOR_POSTFIX) {
entry = libab_table_search_filter(table, string, NULL,
libab_table_compare_op_postfix);
}