diff --git a/VERSION b/VERSION index bc47a65..3059829 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.148 +1.5.149 diff --git a/base/verilog.c b/base/verilog.c index 8fa0453..0acce53 100644 --- a/base/verilog.c +++ b/base/verilog.c @@ -1218,9 +1218,11 @@ skip_endmodule: lhs = LookupObject(nodename, CurrentCell); *aptr = '['; } + else strcpy(noderoot, nexttok); } else { lhs = LookupObject(nexttok, CurrentCell); + strcpy(noderoot, nexttok); } SkipTokComments(VLOG_DELIMITERS); if (lhs && ((!nexttok) || (!match(nexttok, "=")))) {