Fix mis-showing debug message.

This commit is contained in:
Wilson Snyder 2017-11-21 20:04:29 -05:00
parent 3558e70722
commit bd6ecdfa6f

View File

@ -336,7 +336,7 @@ private:
AstNode* lastVarsp = firstVarsp;
while (lastVarsp->nextp()) { lastVarsp = lastVarsp->nextp(); dimension++; }
for (AstNode* varsp = lastVarsp; varsp; varsp=varsp->backp()) {
UINFO(0,"foreachVar "<<varsp<<endl);
UINFO(9,"foreachVar "<<varsp<<endl);
FileLine* fl = varsp->fileline();
AstNode* varp = new AstVar(fl, AstVarType::BLOCKTEMP,
varsp->name(), nodep->findSigned32DType());