From e12b1cc372e0c64a7c2fb76bc08a72381808d89d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 28 Dec 2025 14:00:33 +0100 Subject: Some fixes and generic automaton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libautomata_compile_mp_automaton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libautomata_compile_mp_automaton.c') diff --git a/libautomata_compile_mp_automaton.c b/libautomata_compile_mp_automaton.c index b9e8739..49cd33d 100644 --- a/libautomata_compile_mp_automaton.c +++ b/libautomata_compile_mp_automaton.c @@ -25,7 +25,7 @@ libautomata_compile_mp_automaton(const void *pattern, size_t length, size_t elem #define IMPLEMENT(EQ, EQ_PARAM, CASE)\ while (i < length) {\ - if (j != SIZE_MAX && !(EQ(EQ_PARAM)))\ + while (j != SIZE_MAX && !(EQ(EQ_PARAM)))\ j = ret->next[j];\ i++;\ j++;\ -- cgit v1.2.3-70-g09d2