aboutsummaryrefslogtreecommitdiffstats
path: root/support/dfa.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-09-24 21:22:53 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-09-24 21:22:53 +0300
commitc32959290957c70cd6be333ec6c0b6f1bde4cd80 (patch)
treee1ca245a83c98b432a24e50ff2f0e33cf5443aea /support/dfa.h
parent7853e9693e5894677c95516b1903afe9a68020f0 (diff)
downloadegawk-c32959290957c70cd6be333ec6c0b6f1bde4cd80.tar.gz
egawk-c32959290957c70cd6be333ec6c0b6f1bde4cd80.tar.bz2
egawk-c32959290957c70cd6be333ec6c0b6f1bde4cd80.zip
Update dfa.
Diffstat (limited to 'support/dfa.h')
-rw-r--r--support/dfa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/dfa.h b/support/dfa.h
index c5bff898..2f77f263 100644
--- a/support/dfa.h
+++ b/support/dfa.h
@@ -113,6 +113,9 @@ extern struct dfa *dfasuperset (struct dfa const *d) _GL_ATTRIBUTE_PURE;
/* 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 *);