have single dump function per engine

This commit is contained in:
Alex Coyte
2016-11-02 10:36:24 +11:00
committed by Matthew Barr
parent 71ff480b77
commit 32c826e9c6
23 changed files with 262 additions and 207 deletions

View File

@@ -82,13 +82,8 @@ namespace ue2 {
assert(0); \
}
void nfaDumpDot(const struct NFA *nfa, FILE *dotFile,
const std::string &base) {
DISPATCH_BY_NFA_TYPE(_dumpDot(nfa, dotFile, base));
}
void nfaDumpText(const struct NFA *nfa, FILE *txtFile) {
DISPATCH_BY_NFA_TYPE(_dumpText(nfa, txtFile));
void nfaGenerateDumpFiles(const struct NFA *nfa, const std::string &base) {
DISPATCH_BY_NFA_TYPE(_dump(nfa, base));
}
} // namespace ue2