Rename free procedures

This commit is contained in:
2024-10-26 19:36:42 +01:00
parent e508cc62f5
commit 0ecab6c142
5 changed files with 40 additions and 41 deletions

View File

@@ -29,7 +29,7 @@ static bool desugar_class(regex_term_t *term)
alternatives[i].contents = terms;
}
regex_free_class_children(&term->class);
regex_class_free(&term->class);
term->type = REGEX_TERM_SUBEXPR;
term->subexpr.count = term->subexpr.capacity = count;
term->subexpr.contents = alternatives;