Fix bad-syntax crashes, bug1577.

This commit is contained in:
Wilson Snyder 2019-10-30 21:49:25 -04:00
parent 63373f6f4c
commit bcb766b4ce
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,7 @@ The contributors that suggested a given feature are shown in []. Thanks!
**** Fix multithreaded yield behavior when no work. [Patrick Stewart]
**** Fix bad-syntax crashes, bug1548, bug1550-1553, bug1557-1560, bug1563,
bug1573-1576. [Eric Rippey]
bug1573-1577. [Eric Rippey]
**** Benchmark --protect-lib runtime, bug1519. [Todd Strader]

View File

@ -2147,7 +2147,9 @@ private:
<<(baddot!="" ? baddot : nodep->prettyName())
<<"' in dotted "<<expectWhat
<<": '"<<m_ds.m_dotText+"."+nodep->prettyName()<<"'");
okSymp->cellErrorScopes(nodep, AstNode::prettyName(m_ds.m_dotText));
if (okSymp) {
okSymp->cellErrorScopes(nodep, AstNode::prettyName(m_ds.m_dotText));
}
}
m_ds.m_dotErr = true;
}