- Even less warnings.
This commit is contained in:
parent
d9a37b62b3
commit
36ccfd776a
@ -703,11 +703,14 @@ commEvent (int event, Tac tc)
|
|||||||
// check whether label is unique
|
// check whether label is unique
|
||||||
|
|
||||||
if (isClaimlabelUsed (sys, label))
|
if (isClaimlabelUsed (sys, label))
|
||||||
|
{
|
||||||
|
if (switches.check)
|
||||||
{
|
{
|
||||||
warning
|
warning
|
||||||
("Claim label is not unique at line %i, generating fresh label.",
|
("Claim label is not unique at line %i, generating fresh label.",
|
||||||
tc->lineno);
|
tc->lineno);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!isTermEqual (fromrole, thisRole->nameterm))
|
if (!isTermEqual (fromrole, thisRole->nameterm))
|
||||||
error
|
error
|
||||||
|
Loading…
Reference in New Issue
Block a user