Internals: user#inc now has optional increment value.

This commit is contained in:
Wilson Snyder
2016-05-06 22:26:15 -04:00
parent e190af9d87
commit e64b2d3372
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ private:
// VISITORS
virtual void visit(AstCell* nodep, AstNUser*) {
nodep->iterateChildren(*this);
nodep->modp()->user1(nodep->modp()->user1() - 1);
nodep->modp()->user1Inc(-1);
}
//-----
virtual void visit(AstNodeMath* nodep, AstNUser*) {} // Accelerate