* lib/dfa.c (dfasupported): Rename, and make it global.
Update caller.
* lib/dfa.h (dfasupported): Add prototype.
+2020-09-20 Norihiro Tanaka <noritnk@kcn.ne.jp>
+
+ dfa: make dfasupported a global function
+ * lib/dfa.c (dfasupported): Rename, and make it global.
+ Update caller.
+ * lib/dfa.h (dfasupported): Add prototype.
+
2020-09-20 Bruno Haible <bruno@clisp.org>
canonicalize: Add support for UNC file names on native Windows.
}
/* 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++)
{
dfassbuild (d);
- if (dfa_supported (d))
+ if (dfasupported (d))
{
maybe_disable_superset_dfa (d);
dfaanalyze (d, searchflag);
/* The DFA is likely to be fast. */
extern bool dfaisfast (struct dfa const *) _GL_ATTRIBUTE_PURE;
+/* Return true if every construct in D is supported by this DFA matcher. */
+extern bool dfasupported (struct dfa const *) _GL_ATTRIBUTE_PURE;
+
/* Free the storage held by the components of a struct dfa. */
extern void dfafree (struct dfa *);