1
0
mirror of https://git.lain.church/emil/libhl.git synced 2025-06-26 11:56:41 +00:00
This commit is contained in:
anon
2023-09-21 09:09:07 +02:00
9 changed files with 687 additions and 87 deletions

View File

@ -191,7 +191,7 @@ void render_string(const char * const string,
result_t * const r = (result_t *)malloc(sizeof(result_t) * 1024); // XXX: dont
int rrs = 0;
for (int i = 0; i < token_table.element_count; i++) {
for (size_t i = 0; i < token_table.element_count; i++) {
token_t * t = *(token_t**)vector_get(&token_table,
i);
match_t * match = regex_match(t->syntax, string, true);