aboutsummaryrefslogtreecommitdiffstats
path: root/libautomata_compile_mp_automaton.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-12-28 14:00:33 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 15:26:49 +0100
commite12b1cc372e0c64a7c2fb76bc08a72381808d89d (patch)
treefc09dedc79b497baef6ba43d68d8fc2bd2f69fa1 /libautomata_compile_mp_automaton.c
parentfix readme (diff)
downloadlibautomata-e12b1cc372e0c64a7c2fb76bc08a72381808d89d.tar.gz
libautomata-e12b1cc372e0c64a7c2fb76bc08a72381808d89d.tar.bz2
libautomata-e12b1cc372e0c64a7c2fb76bc08a72381808d89d.tar.xz
Some fixes and generic automatonHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libautomata_compile_mp_automaton.c')
-rw-r--r--libautomata_compile_mp_automaton.c2
1 files changed, 1 insertions, 1 deletions
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++;\