emit only warning for primitive redefinition

This commit is contained in:
Stefan Biereigel 2019-05-17 15:20:49 +02:00
parent e93ee3967e
commit 7f5145d758
1 changed files with 1 additions and 1 deletions

View File

@ -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());