mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-20 19:06:39 +03:00
noExplicitConstructor
This commit is contained in:
@@ -95,7 +95,7 @@ u32 findMinWidth(const RoseBuildImpl &tbi, enum rose_literal_table table) {
|
||||
}
|
||||
|
||||
if (g[v].suffix) {
|
||||
depth suffix_width = findMinWidth(g[v].suffix, g[v].suffix.top);
|
||||
depth suffix_width = findMinWidth(suffix_id(g[v].suffix), g[v].suffix.top);
|
||||
assert(suffix_width.is_reachable());
|
||||
DEBUG_PRINTF("%zu has suffix with top %u (width %s), can fire "
|
||||
"report at %u\n",
|
||||
@@ -145,10 +145,10 @@ u32 findMaxBAWidth(const RoseBuildImpl &tbi) {
|
||||
u64a w = g[v].max_offset;
|
||||
|
||||
if (g[v].suffix) {
|
||||
if (has_non_eod_accepts(g[v].suffix)) {
|
||||
if (has_non_eod_accepts(suffix_id(g[v].suffix))) {
|
||||
return ROSE_BOUND_INF;
|
||||
}
|
||||
depth suffix_width = findMaxWidth(g[v].suffix, g[v].suffix.top);
|
||||
depth suffix_width = findMaxWidth(suffix_id(g[v].suffix), g[v].suffix.top);
|
||||
DEBUG_PRINTF("suffix max width for top %u is %s\n", g[v].suffix.top,
|
||||
suffix_width.str().c_str());
|
||||
assert(suffix_width.is_reachable());
|
||||
@@ -222,11 +222,11 @@ u32 findMaxBAWidth(const RoseBuildImpl &tbi, enum rose_literal_table table) {
|
||||
accept_eod node */
|
||||
|
||||
if (g[v].suffix) {
|
||||
if (has_non_eod_accepts(g[v].suffix)) {
|
||||
if (has_non_eod_accepts(suffix_id(g[v].suffix))) {
|
||||
DEBUG_PRINTF("has accept\n");
|
||||
return ROSE_BOUND_INF;
|
||||
}
|
||||
depth suffix_width = findMaxWidth(g[v].suffix);
|
||||
depth suffix_width = findMaxWidth(suffix_id(g[v].suffix));
|
||||
DEBUG_PRINTF("suffix max width %s\n", suffix_width.str().c_str());
|
||||
assert(suffix_width.is_reachable());
|
||||
if (!suffix_width.is_finite()) {
|
||||
|
||||
Reference in New Issue
Block a user