Add ASSIGNIN as suppressable error.

This commit is contained in:
Wilson Snyder
2011-10-25 18:57:49 -04:00
parent 1f2b40cff1
commit df207807b6
7 changed files with 104 additions and 8 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ private:
if (nodep->varp()) {
if (nodep->lvalue() && nodep->varp()->isInOnly()) {
if (!m_ftaskp) {
nodep->v3error("Assigning to input variable: "<<nodep->prettyName());
nodep->v3warn(ASSIGNIN,"Assigning to input variable: "<<nodep->prettyName());
}
}
if (nodep->lvalue() && nodep->varp()->isConst()