rose: use dumpString for debug output

This commit is contained in:
Justin Viiret
2016-07-21 13:32:55 +10:00
committed by Matthew Barr
parent 04634f2e87
commit 55c2d20e2c
2 changed files with 6 additions and 6 deletions

View File

@@ -375,7 +375,7 @@ void createVertices(RoseBuildImpl *tbi,
/* ensure the holder does not accept any paths which do not end with lit */
static
void removeFalsePaths(NGHolder &g, const ue2_literal &lit) {
DEBUG_PRINTF("strip '%s'\n", ((const string &)lit).c_str());
DEBUG_PRINTF("strip '%s'\n", dumpString(lit).c_str());
set<NFAVertex> curr, next;
curr.insert(g.accept);
curr.insert(g.acceptEod);