Fix parsing sensitivity with &&, bug934.

This commit is contained in:
Wilson Snyder
2016-12-21 18:23:14 -05:00
parent 6f28d21207
commit a1e4d676c3
7 changed files with 31 additions and 5 deletions
+1
View File
@@ -1554,6 +1554,7 @@ private:
} else if (!m_doNConst // Deal with later when doNConst missing
&& (nodep->sensp()->castEnumItemRef()
|| nodep->sensp()->castConst())) {
} else if (nodep->isIllegal()) { // Deal with later
} else {
if (nodep->hasVar() && !nodep->varrefp()) nodep->v3fatalSrc("Null sensitivity variable");
}