From d2461482caf9e93d6e2bc7ff17567102f635211a Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Sun, 11 Jan 2026 17:16:40 +0000 Subject: Fixed some things. Next thing will be tests. --- plugins/regex.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/regex.c') 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 #include #include #include -#include 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"); -- cgit v1.2.3