Add --autoflush option

This commit is contained in:
Wilson Snyder
2008-07-16 14:06:08 -04:00
parent f0a06182ca
commit 4591f35b7c
11 changed files with 82 additions and 9 deletions
+3 -1
View File
@@ -368,7 +368,9 @@ private:
}
virtual void visit(AstFFlush* nodep, AstNUser*) {
nodep->iterateChildren(*this);
expectDescriptor(nodep, nodep->filep()->castNodeVarRef());
if (nodep->filep()) {
expectDescriptor(nodep, nodep->filep()->castNodeVarRef());
}
}
virtual void visit(AstFGetC* nodep, AstNUser*) {
nodep->iterateChildren(*this);