Skip to content

Commit b4286ac

Browse files
committed
Revert "fix"
This reverts commit 8c0ded2.
1 parent 7dcbdcb commit b4286ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/fstdata.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void FstData::extractVarNames()
182182
fork_parent_scope = fst_scope_name;
183183
fork_name = h->u.scope.name;
184184
fork_vars.clear();
185-
} else if (detect_union && h->u.scope.typ == FST_ST_VCD_STRUCT) {
185+
} else if (in_fork && h->u.scope.typ == FST_ST_VCD_STRUCT) {
186186
// Signal that a nested $fork can not be a candidate for union struct detection.
187187
log_warning("Nested $fork '%s' inside $fork '%s'; "
188188
"abandoning union detection for this scope...\n",

0 commit comments

Comments
 (0)