Skip to content

Commit

Permalink
Merge branch 'master' into qflow-1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RTimothyEdwards committed Sep 24, 2021
2 parents a8d0ae3 + e1f692f commit d749899
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.97
1.4.98
4 changes: 2 additions & 2 deletions src/readverilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ void ReadVerilogFile(char *fname, struct cellstack **CellStackPtr,
}
else if (!strcmp(nexttok, "wire") ||
!strcmp(nexttok, "assign")) { /* wire = node */
struct netrec wb, *nb;
struct netrec wb, *nb = NULL;
char *eptr, *wirename;
char is_assignment = FALSE;
char is_lhs_bundle = FALSE, is_rhs_bundle = FALSE;
Expand Down Expand Up @@ -1474,7 +1474,7 @@ void ReadVerilogFile(char *fname, struct cellstack **CellStackPtr,
/* until this tool handles bus joining. If the */
/* assignment is made on an undeclared wire, then */
/* adjust the wire bounds. */
if (nb && nb->start == -1) {
if (nb && (nb->start == -1)) {
nb->start = wb.start;
nb->end = wb.end;
}
Expand Down

0 comments on commit d749899

Please sign in to comment.