mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Fix compilation error when DEBUG_OUTPUT=on
This commit is contained in:
parent
c1c3a3caa0
commit
e0196b2ed0
@ -76,7 +76,7 @@ vector<flat_set<NFAVertex>> gatherSuccessorsByDepth(const NGHolder &g,
|
|||||||
if (v == succr) {
|
if (v == succr) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
DEBUG_PRINTF("Node %zu depth %u\n", g[succ].index, d + 1);
|
DEBUG_PRINTF("Node %zu depth %u\n", g[succr].index, d + 1);
|
||||||
next.insert(succr);
|
next.insert(succr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -118,7 +118,7 @@ vector<flat_set<NFAVertex>> gatherPredecessorsByDepth(const NGHolder &g,
|
|||||||
if (v == predc) {
|
if (v == predc) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
DEBUG_PRINTF("Node %zu depth %u\n", g[pred].index, d + 1);
|
DEBUG_PRINTF("Node %zu depth %u\n", g[predc].index, d + 1);
|
||||||
next.insert(predc);
|
next.insert(predc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -207,8 +207,7 @@ vector<RoseLongLitHashEntry> buildHashTable(
|
|||||||
u32 lit_id = lit_offset.first;
|
u32 lit_id = lit_offset.first;
|
||||||
u32 offset = lit_offset.second;
|
u32 offset = lit_offset.second;
|
||||||
|
|
||||||
DEBUG_PRINTF("hash 0x%08x lit_id %u offset %u bucket %u\n", hash,
|
DEBUG_PRINTF("hash 0x%08x lit_id %u offset %u bucket %u\n", m.first, lit_id, offset, bucket);
|
||||||
lit_id, offset, bucket);
|
|
||||||
|
|
||||||
auto &entry = tab[bucket];
|
auto &entry = tab[bucket];
|
||||||
entry.str_offset = verify_u32(litToOffsetVal.at(lit_id));
|
entry.str_offset = verify_u32(litToOffsetVal.at(lit_id));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user