verilog: Create non-existent nodes if on LHS of `assign`
Fixes #89 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
bf4112db07
commit
f2f082e627
|
|
@ -1797,6 +1797,10 @@ skip_endmodule:
|
|||
}
|
||||
else {
|
||||
lhs = LookupObject(nexttok, CurrentCell);
|
||||
if (lhs == NULL) {
|
||||
Node(nexttok);
|
||||
lhs = LookupObject(nexttok, CurrentCell);
|
||||
}
|
||||
strcpy(noderoot, nexttok);
|
||||
}
|
||||
SkipTokComments(VLOG_DELIMITERS);
|
||||
|
|
|
|||
Loading…
Reference in New Issue