From 4d5710a84a5d1d44ab909547453cf8544d9c0812 Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Thu, 11 Feb 2016 14:40:04 +1100 Subject: [PATCH] Rename rosePrefixCheckMiracles to roseLeftfix... --- src/rose/program_runtime.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rose/program_runtime.h b/src/rose/program_runtime.h index 075f0fc6..bdada9e1 100644 --- a/src/rose/program_runtime.h +++ b/src/rose/program_runtime.h @@ -142,9 +142,9 @@ void rosePushDelayedMatch(const struct RoseEngine *t, } static rose_inline -char rosePrefixCheckMiracles(const struct RoseEngine *t, - const struct LeftNfaInfo *left, - struct core_info *ci, struct mq *q, u64a end) { +char roseLeftfixCheckMiracles(const struct RoseEngine *t, + const struct LeftNfaInfo *left, + struct core_info *ci, struct mq *q, u64a end) { if (left->transient) { // Miracles won't help us with transient leftfix engines; they only // scan for a limited time anyway. @@ -445,7 +445,7 @@ char roseTestLeftfix(const struct RoseEngine *t, struct hs_scratch *scratch, reduceInfixQueue(q, loc, left->maxQueueLen, q->nfa->maxWidth); } - if (!rosePrefixCheckMiracles(t, left, ci, q, end)) { + if (!roseLeftfixCheckMiracles(t, left, ci, q, end)) { DEBUG_PRINTF("leftfix %u died due to miracle\n", ri); goto nfa_dead; }