if (correct_find(table, ident))
return found;
- /*mem_d(found);*/
if ((e1rows = correct_size(ident))) {
e1 = correct_edit(ident);
if (correct) {
parseerror(parser, "unexpected ident: %s (did you mean %s?)", parser_tokval(parser), correct);
- /*mem_d(correct);*/
+ mem_d(correct);
} else {
parseerror(parser, "unexpected ident: %s", parser_tokval(parser));
}
}
util_htdel(vec_last(parser->variables));
- util_htdel(vec_last(parser->correct_variables)); /* corrector */
- vec_free(vec_last(parser->correct_variables_score)); /* corrector */
+ correct_del(vec_last(parser->correct_variables), vec_last(parser->correct_variables_score));
vec_pop(parser->variables);
- vec_pop(parser->correct_variables); /* corrector */
+ vec_pop(parser->correct_variables);
+ vec_pop(parser->correct_variables_score);
if (!vec_size(parser->_blocklocals)) {
parseerror(parser, "internal error: parser_leaveblock with no block (2)");
return false;