mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
emit only warning for primitive redefinition
This commit is contained in:
@@ -1847,7 +1847,7 @@ void pform_make_udp(perm_string name, list<perm_string>*parms,
|
||||
|
||||
// Put the primitive into the primitives table
|
||||
if (pform_primitives[name]) {
|
||||
VLerror("UDP primitive already exists.");
|
||||
VLwarn("UDP primitive already exists.");
|
||||
|
||||
} else {
|
||||
PUdp*udp = new PUdp(name, parms->size());
|
||||
|
||||
Reference in New Issue
Block a user