Optimize display+display statements.

This commit is contained in:
Wilson Snyder
2017-10-02 20:25:10 -04:00
parent 89ac6ab594
commit 1a6348f113
4 changed files with 88 additions and 3 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ private:
}
}
// Not really any way the user could do this, and we'd need to come up with some return value
//newfuncp->addStmtsp(new AstDisplay (newfuncp->fileline(), AstDisplayType::DT_DISPLAY,
//newfuncp->addStmtsp(new AstDisplay (newfuncp->fileline(), AstDisplayType::DT_WARNING,
// string("%%Error: ")+name+"() called with bad scope", NULL));
//newfuncp->addStmtsp(new AstStop (newfuncp->fileline()));
if (debug()>=9) newfuncp->dumpTree(cout," newfunc: ");