]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
add information on the runtime impl to rose.txt
authorAlex Coyte <a.coyte@intel.com>
Mon, 16 Jan 2017 23:23:23 +0000 (10:23 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 26 Apr 2017 04:44:03 +0000 (14:44 +1000)
src/rose/rose_dump.cpp

index d3bf980ec481c469b8fc16c2d3a666354b862d0f..96f496886d385cb206a55c93045d3aed420f95ac 100644 (file)
@@ -1184,6 +1184,12 @@ void roseDumpText(const RoseEngine *t, FILE *f) {
     if (t->hasSom) {
         fprintf(f, " hasSom");
     }
+    if (t->runtimeImpl == ROSE_RUNTIME_PURE_LITERAL) {
+        fprintf(f, " pureLiteral");
+    }
+    if (t->runtimeImpl == ROSE_RUNTIME_SINGLE_OUTFIX) {
+        fprintf(f, " soleOutfix");
+    }
     fprintf(f, "\n");
 
     fprintf(f, "dkey count           : %u\n", t->dkeyCount);