From c32959290957c70cd6be333ec6c0b6f1bde4cd80 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 24 Sep 2020 21:22:53 +0300 Subject: Update dfa. --- support/dfa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'support/dfa.c') diff --git a/support/dfa.c b/support/dfa.c index 641f422a..d47acfe2 100644 --- a/support/dfa.c +++ b/support/dfa.c @@ -3656,8 +3656,8 @@ free_mbdata (struct dfa *d) } /* Return true if every construct in D is supported by this DFA matcher. */ -static bool _GL_ATTRIBUTE_PURE -dfa_supported (struct dfa const *d) +bool +dfasupported (struct dfa const *d) { for (idx_t i = 0; i < d->tindex; i++) { @@ -3813,7 +3813,7 @@ dfacomp (char const *s, idx_t len, struct dfa *d, bool searchflag) dfassbuild (d); - if (dfa_supported (d)) + if (dfasupported (d)) { maybe_disable_superset_dfa (d); dfaanalyze (d, searchflag); -- cgit v1.2.3