Fix a few small bugs.

This commit is contained in:
2017-01-07 22:15:18 -08:00
parent 452b6e660e
commit a2044b596a
2 changed files with 3 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ void regex_node_clear(regex_node* node);
* Frees an entire NFA, starting from the given root node.
* @param root the root, or starting node, of the NFA.
*/
void regex_free(regex_node* root);
libregex_result regex_free(regex_node* root);
/**
* Builds a regular expression from the given regular expression strings.
* @param root the root node to build into.