From 7f6786c9118007d0fcf3632c585e203a66c13c35 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Thu, 23 Nov 2023 15:19:32 +1100 Subject: Feature [feature-requests:#1503] Reduce variable scope. --- src/RESearch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/RESearch.h') diff --git a/src/RESearch.h b/src/RESearch.h index 5ac3f00dc..4dee666a0 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -50,8 +50,8 @@ private: Sci::Position bol; char nfa[MAXNFA]; /* automaton */ int sta; - unsigned char bittab[BITBLK]; /* bit table for CCL pre-set bits */ int failure; + unsigned char bittab[BITBLK]; /* bit table for CCL pre-set bits */ CharClassify *charClass; bool iswordc(unsigned char x) const noexcept { return charClass->IsWord(x); -- cgit v1.2.3