Compare commits

..

No commits in common. "6123d0347192ff51f49d7254b61baf7673ecaa24" and "4e7632f3c0bd2fbc0565b728d0b8b4050ca7f89e" have entirely different histories.

4 changed files with 3 additions and 9 deletions

View File

@ -6,14 +6,10 @@ endif(TARGET regex)
project(libregex)
add_compile_options(-pedantic -Wall)
add_library(regex STATIC src/libregex.c)
add_executable(libregex src/main.c)
add_subdirectory(external/libds)
set_property(TARGET regex PROPERTY C_STANDARD 90)
set_property(TARGET libregex PROPERTY C_STANDARD 90)
target_include_directories(regex PUBLIC include)
target_include_directories(libregex PUBLIC include)

2
external/libds vendored

@ -1 +1 @@
Subproject commit 276d38a292bc03939e854deac077b7d71b21eb8e
Subproject commit 936b2835b28082d83f9716ffc2470ae0621ab52a

View File

@ -325,5 +325,4 @@ libregex_result regex_match_string(regex_node* root, char* string, regex_result*
*/
void regex_result_free(regex_result* result);
#endif
#endif

View File

@ -597,5 +597,4 @@ void regex_result_free(regex_result* result){
free(result->groups[index]);
}
result->matches = 0;
}
}