summaryrefslogtreecommitdiff
path: root/plugins/regex.c
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-11 17:16:40 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-11 17:17:04 +0000
commitd2461482caf9e93d6e2bc7ff17567102f635211a (patch)
treec302d1a2e7cb829b6ed006c905db0b8bbf45f57a /plugins/regex.c
parentf9b1992795142a073cd5dc1794350fc64e9aa695 (diff)
Fixed some things. Next thing will be tests.
Diffstat (limited to 'plugins/regex.c')
-rw-r--r--plugins/regex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/regex.c b/plugins/regex.c
index d7a8a97..b56515c 100644
--- a/plugins/regex.c
+++ b/plugins/regex.c
@@ -1,9 +1,9 @@
#include "zprep_plugin.h"
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
static void emit_match_logic(const char *pattern, FILE *out, int *label_counter);
@@ -111,7 +111,8 @@ static void emit_match_logic(const char *pattern, FILE *out, int * /*label_count
}
else
{
- fprintf(out, " if (*c == 0) return 0;\n"); // End of input for single char
+ fprintf(out,
+ " if (*c == 0) return 0;\n"); // End of input for single char
}
fprintf(out, " int match = 0;\n");