From: Jim Meyering <[email protected]>

* src/dfa.c (dfastate): Use regular "if", not #if MBS_SUPPORT.
---
 src/dfa.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/dfa.c b/src/dfa.c
index dd8259c..f245208 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -2578,11 +2578,9 @@ dfastate (int s, struct dfa *d, int trans[])

       /* If we are building a searching matcher, throw in the positions
          of state 0 as well. */
-#if MBS_SUPPORT
-      if (d->searchflag && (d->mb_cur_max == 1 || !next_isnt_1st_byte))
-#else
-      if (d->searchflag)
-#endif
+      if (d->searchflag
+          && (! MBS_SUPPORT
+              || (d->mb_cur_max == 1 || !next_isnt_1st_byte)))
         for (j = 0; j < d->states[0].elems.nelem; ++j)
           insert(d->states[0].elems.elems[j], &follows);

-- 
1.7.7.rc0.362.g5a14


Reply via email to