Fix string formats under deep expressions, bug820.

This commit is contained in:
Wilson Snyder
2014-09-21 08:52:09 -04:00
parent 6e476255ca
commit c86fec5307
3 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -170,11 +170,13 @@ private:
m_inWhilep->addPrecondsp(newp);
} else if (m_inTracep) {
m_inTracep->addPrecondsp(newp);
} else {
} else if (m_stmtp) {
AstNRelinker linker;
m_stmtp->unlinkFrBack(&linker);
newp->addNext(m_stmtp);
linker.relink(newp);
} else {
newp->v3fatalSrc("No statement insertion point.");
}
}