Fix hashed error with typedef inside block, bug948.

This commit is contained in:
Wilson Snyder
2015-07-22 19:52:11 -04:00
parent 445c83a60d
commit 2062f7e97b
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -89,6 +89,7 @@ private:
//--------------------
// Default: Just iterate
virtual void visit(AstVar*, AstNUser*) {}
virtual void visit(AstTypedef*, AstNUser*) {}
virtual void visit(AstNode* nodep, AstNUser*) {
nodeHashIterate(nodep);
}