Merge branch 'master' into develop-v5

This commit is contained in:
Geza Lore
2022-09-17 16:12:28 +01:00
17 changed files with 161 additions and 171 deletions
+3 -3
View File
@@ -497,7 +497,7 @@ private:
// Put assignment in FRONT of all other statements
if (AstNode* const afterp = beginp->nextp()) {
afterp->unlinkFrBackWithNext();
assp->addNext(afterp);
AstNode::addNext<AstNode, AstNode>(assp, afterp);
}
beginp->addNext(assp);
}
@@ -820,7 +820,7 @@ private:
AstVarRef* const refp
= new AstVarRef(portp->fileline(), outvscp,
portp->isWritable() ? VAccess::WRITE : VAccess::READ);
argnodesp = argnodesp->addNextNull(refp);
argnodesp = argnodesp->addNext(refp);
if (portp->isNonOutput()) {
std::string frName
@@ -848,7 +848,7 @@ private:
outvscp->varp()->protect(false);
AstVarRef* const refp = new AstVarRef(
portp->fileline(), outvscp, portp->isWritable() ? VAccess::WRITE : VAccess::READ);
argnodesp = argnodesp->addNextNull(refp);
argnodesp = argnodesp->addNext(refp);
}
{ // Call the user function