Parser: Move 'wait' block unsupported messages down out of parser

This commit is contained in:
Wilson Snyder
2020-06-29 20:39:39 -04:00
parent ad55564905
commit 748c818ccb
7 changed files with 95 additions and 3 deletions
+1 -2
View File
@@ -2036,8 +2036,7 @@ private:
if (nodep->name() == "this") {
nodep->v3warn(E_UNSUPPORTED, "Unsupported: this");
m_ds.m_dotErr = true;
}
else if (nodep->name() == "super") {
} else if (nodep->name() == "super") {
nodep->v3warn(E_UNSUPPORTED, "Unsupported: super");
m_ds.m_dotErr = true;
}