emit only warning for primitive redefinition
This commit is contained in:
parent
e93ee3967e
commit
7f5145d758
2
pform.cc
2
pform.cc
|
|
@ -1847,7 +1847,7 @@ void pform_make_udp(perm_string name, list<perm_string>*parms,
|
||||||
|
|
||||||
// Put the primitive into the primitives table
|
// Put the primitive into the primitives table
|
||||||
if (pform_primitives[name]) {
|
if (pform_primitives[name]) {
|
||||||
VLerror("UDP primitive already exists.");
|
VLwarn("UDP primitive already exists.");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
PUdp*udp = new PUdp(name, parms->size());
|
PUdp*udp = new PUdp(name, parms->size());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue